]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-submodule: remove redundant call to git-describe
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Jul 2007 23:13:55 +0000 (16:13 -0700)
committerJunio 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

index afbaec7a742b7bc93d7ca889f472401619f33ec7..2cfeaddbc27fd00e089bcf2ffd76e1271f1f3eb9 100755 (executable)
@@ -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