Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Teach tree_entry_interesting() that the tree entries are sorted.
[gitweb.git]
/
templates
/
hooks--update
diff --git
a/templates/hooks--update
b/templates/hooks--update
index 5b82b68e93980924befa9ecc99e099e77da27b5f..8f6c4fea2429cef0da4748f8871ceaed94b432cc 100644
(file)
--- a/
templates/hooks--update
+++ b/
templates/hooks--update
@@
-210,7
+210,7
@@
case "$refname_type" in
fi
# If this tag succeeds another, then show which tag it replaces
- prevtag=$(git describe
$newrev^ 2>/dev/null | sed 's/-g.*//'
)
+ prevtag=$(git describe
--abbrev=0 $newrev^ 2>/dev/null
)
if [ -n "$prevtag" ]; then
echo " replaces $prevtag"
fi