Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
count-delta: no need for this anymore.
[gitweb.git]
/
git-commit.sh
diff --git
a/git-commit.sh
b/git-commit.sh
index c9c22abc5edb3a2d4a22907e1f5b26ca74812859..d9ec1f14d9ec3336c4c772d0c03f30d5f1511d56 100755
(executable)
--- a/
git-commit.sh
+++ b/
git-commit.sh
@@
-595,12
+595,14
@@
then
PARENTS=$(git-cat-file commit HEAD |
sed -n -e '/^$/q' -e 's/^parent /-p /p')
fi
+ current=$(git-rev-parse --verify HEAD)
else
if [ -z "$(git-ls-files)" ]; then
echo >&2 Nothing to commit
exit 1
fi
PARENTS=""
+ current=
fi
{