We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f19e0c + b545cd1 commit 515cdedCopy full SHA for 515cded
git-submodule.sh
@@ -1129,16 +1129,16 @@ cmd_status()
1129
say "-$sha1 $displaypath"
1130
continue;
1131
fi
1132
- set_name_rev "$sm_path" "$sha1"
1133
if git diff-files --ignore-submodules=dirty --quiet -- "$sm_path"
1134
then
+ set_name_rev "$sm_path" "$sha1"
1135
say " $sha1 $displaypath$revname"
1136
else
1137
if test -z "$cached"
1138
1139
sha1=$(clear_local_git_env; cd "$sm_path" && git rev-parse --verify HEAD)
1140
1141
1142
say "+$sha1 $displaypath$revname"
1143
1144
0 commit comments