projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2d2d16
)
git-submodule: remove redundant call to git-describe
author
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jul 2007 23:13:55 +0000
(16:13 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jul 2007 23:13:55 +0000
(16:13 -0700)
The code to find a more descriptive name given a commit in a
submodule were improved in
bffe71f
, but it forgot to remove the
older logic the patch replaced.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
patch
|
blob
|
history
diff --git
a/git-submodule.sh
b/git-submodule.sh
index afbaec7a742b7bc93d7ca889f472401619f33ec7..2cfeaddbc27fd00e089bcf2ffd76e1271f1f3eb9 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