Skip to content

Commit

Permalink
git-submodule: Fix two instances of the same typo
Browse files Browse the repository at this point in the history
They break the output of git submodule status.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
CJ van den Berg authored and Junio C Hamano committed Jul 4, 2007
1 parent e2b1acc commit 41c7c1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-submodule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,15 @@ modules_list()
continue;
fi
revname=$(unset GIT_DIR && cd "$path" && git describe --tags $sha1)
set_name_rev "$path" $"sha1"
set_name_rev "$path" "$sha1"
if git diff-files --quiet -- "$path"
then
say " $sha1 $path$revname"
else
if test -z "$cached"
then
sha1=$(unset GIT_DIR && cd "$path" && git rev-parse --verify HEAD)
set_name_rev "$path" $"sha1"
set_name_rev "$path" "$sha1"
fi
say "+$sha1 $path$revname"
fi
Expand Down

0 comments on commit 41c7c1b

Please sign in to comment.