Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-pack-objects: mark the delta packing with a 'D'.
[gitweb.git]
/
git-commit-script
diff --git
a/git-commit-script
b/git-commit-script
index 5e5c0ccb3a8605248e1467a6841a03ef65540eb0..57f5333db8517f4f250b563f694c067446c78c10 100755
(executable)
--- a/
git-commit-script
+++ b/
git-commit-script
@@
-4,6
+4,7
@@
if [ ! -d $GIT_DIR ]; then
echo Not a git directory 1>&2
exit 1
fi
+git-update-cache -q --refresh -- "$@" || exit 1
PARENTS="-p HEAD"
if [ ! -r $GIT_DIR/HEAD ]; then
if [ -z "$(git-ls-files)" ]; then