Skip to content

Commit

Permalink
git-submodule: remove redundant call to git-describe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Jul 25, 2007
1 parent b2d2d16 commit 1a44be9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion git-submodule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a44be9

Please sign in to comment.