Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make sure alternates are carried over from the original repository.
[gitweb.git]
/
git-commit-script
diff --git
a/git-commit-script
b/git-commit-script
index f6cd75f024a0ddb247807086c04eff6d6f8fe6cd..15d03913d5eca6c7eb0eeb146e3e6cf6ba7d1d56 100755
(executable)
--- a/
git-commit-script
+++ b/
git-commit-script
@@
-85,11
+85,13
@@
tt*)
die "Only one of -c/-C/-F/-m can be used." ;;
esac
-case "$all" in
-t)
+case "$all
,$#
" in
+t
,*
)
git-diff-files --name-only -z |
xargs -0 git-update-cache -q --
;;
+,0)
+ ;;
*)
git-diff-files --name-only -z "$@" |
xargs -0 git-update-cache -q --