Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix signature of fcntl() compatibility dummy
[gitweb.git]
/
git-submodule.sh
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 5869c00f2d5db4d8316002267a8605096357d5ed..383dc451191fef4e078e9f46aaf3fdb3190ebc9a 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-556,7
+556,7
@@
cmd_summary() {
if rev=$(git rev-parse -q --verify --default HEAD ${1+"$1"})
then
head=$rev
- shift
+
test $# = 0 ||
shift
elif test -z "$1" -o "$1" = "HEAD"
then
return