summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@gmx.de>2010-09-20 11:31:22 +0200
committerJunio C Hamano <gitster@pobox.com>2010-10-29 14:09:48 -0700
commit06ac01a46af471207b93266e55eb9880e87e0114 (patch)
tree645fec526a674b4ec770b55d96bbff2364ce2b94
parentca209065f3cc3462eb0ae6090f6b13f38aa2114c (diff)
downloadgit-06ac01a46af471207b93266e55eb9880e87e0114.tar.gz
contrib/ciabot: git-describe commit instead of HEAD
For each commit a shorter version of the name will be generated. This is either the truncated hash or the output of git-describe. The call to git-describe was only made with an empty shell variable instead of an actual commit hash. Thus it only described the current HEAD and not each commit we want to submit to cia.vc. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xcontrib/ciabot/ciabot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ciabot/ciabot.py b/contrib/ciabot/ciabot.py
index d0627e0852..9775dffb5d 100755
--- a/contrib/ciabot/ciabot.py
+++ b/contrib/ciabot/ciabot.py
@@ -122,7 +122,7 @@ def report(refname, merged):
branch = os.path.basename(refname)
# Compute a shortnane for the revision
- rev = do("git describe ${merged} 2>/dev/null") or merged[:12]
+ rev = do("git describe '"+ merged +"' 2>/dev/null") or merged[:12]
# Extract the neta-information for the commit
rawcommit = do("git cat-file commit " + merged)