Skip to content

Commit

Permalink
Merge branch 'jh/maint-submodule-status-in-void' (early part)
Browse files Browse the repository at this point in the history
* 'jh/maint-submodule-status-in-void' (early part):
  submodule summary: do not shift a non-existent positional variable
  • Loading branch information
Junio C Hamano committed Mar 3, 2010
2 parents a75bab5 + caa9c3c commit 66a5eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-submodule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66a5eef

Please sign in to comment.