Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint' of git://linux-nfs.org/~bfields/git into maint
[gitweb.git]
/
git-submodule.sh
diff --git
a/git-submodule.sh
b/git-submodule.sh
index afbaec7a742b7bc93d7ca889f472401619f33ec7..3320998c76ba72094755ec60369a6266751889ff 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-236,7
+236,6
@@
modules_list()
say "-$sha1 $path"
continue;
fi
- revname=$(unset GIT_DIR && cd "$path" && git describe --tags $sha1)
set_name_rev "$path" "$sha1"
if git diff-files --quiet -- "$path"
then
@@
-314,7
+313,7
@@
case "$add,$init,$update,$status,$cached" in
,,1,,)
modules_update "$@"
;;
-,,,
1
,*)
+,,,
*
,*)
modules_list "$@"
;;
*)