Browse Source

Merge branch 'jh/maint-submodule-status-in-void' (early part)

* 'jh/maint-submodule-status-in-void' (early part):
  submodule summary: do not shift a non-existent positional variable
maint
Junio C Hamano 15 years ago
parent
commit
66a5eeffff
  1. 2
      git-submodule.sh

2
git-submodule.sh

@ -556,7 +556,7 @@ cmd_summary() { @@ -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

Loading…
Cancel
Save