git-submodule: Fix a typo
PATCH 1/1 git-submodule: Fix a typo
This typo breaks the output of git submodule status.
--- git-submodule.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
git-submodule.sh +1 -1
@@ -234,7 +234,7 @@ 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"
Signature · 1 line
1.5.2.GIT
Quoted 11 lines · CJ van den Berg
This typo breaks the output of git submodule status.
--- git-submodule.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)git-submodule.sh +0
-0
git-submodule.sh modules_list() · line 240
Quoted 8 lines
git-submodule.sh +1
-1@@ -234,7 +234,7 @@ 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"
Thanks. There is another, probably from a cut-n-paste.