@matheusbsbs / matheus-bagliano / commits / 1a44be9a0f
Fork 0

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>

Junio C Hamano committed Jul 25, 2007 at 16:13 UTC 1a44be9a0ff6fa623ff6061992f5ad1831dc7cab
1 file changed -1
git-submodule.sh
-1
@@ -236,7 +236,6 @@ modules_list()
236 say "-$sha1 $path"
237 continue;
238 fi
239 - revname=$(unset GIT_DIR && cd "$path" && git describe --tags $sha1)
239 set_name_rev "$path" "$sha1"
240 if git diff-files --quiet -- "$path"
241 then