aboutsummaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-07-25 16:13:55 -0700
committerJunio C Hamano <gitster@pobox.com>2007-07-25 16:13:55 -0700
commit1a44be9a0ff6fa623ff6061992f5ad1831dc7cab (patch)
treed07ec4cbc89d01365cbdfe3ced5105d310c2ab60 /git-submodule.sh
parentb2d2d16af7ff686fb96d344daaf49653fd67366a (diff)
downloadgit-1a44be9a0ff6fa623ff6061992f5ad1831dc7cab.tar.gz
git-1a44be9a0ff6fa623ff6061992f5ad1831dc7cab.tar.xz
git-submodule: remove redundant call to git-describe
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>
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index afbaec7a7..2cfeaddbc 100755
--- 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