aboutsummaryrefslogtreecommitdiff
path: root/tools/qbs/GitRepo.js
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-25 14:42:27 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-25 14:42:27 +0100
commit5be898f07c4feaaceeecc0159cc142e26a7310bd (patch)
tree912f9e2ae324380a78da29e0d8b830bda4746042 /tools/qbs/GitRepo.js
parentAddress bar menu now reads entries from the bookmarks (diff)
downloadsmolbote-5be898f07c4feaaceeecc0159cc142e26a7310bd.tar.xz
astyle pass
Diffstat (limited to 'tools/qbs/GitRepo.js')
-rw-r--r--tools/qbs/GitRepo.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/qbs/GitRepo.js b/tools/qbs/GitRepo.js
index 04021c8..f3431f9 100644
--- a/tools/qbs/GitRepo.js
+++ b/tools/qbs/GitRepo.js
@@ -5,11 +5,8 @@ function read(workingDirectory) {
git.setWorkingDirectory(workingDirectory);
var meta = Object.create(null);
- git.exec("git", ["describe", "--abbrev=0", "--tag"], true);
- meta.version = git.readLine();
-
git.exec("git", ["describe", "--long"], true);
- meta.describe = git.readLine();
+ meta.version = git.readLine();
return meta;
}