提交 1a44be9a 编写于 作者: J Junio C Hamano

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 bffe71f4, but it forgot to remove the
older logic the patch replaced.
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 b2d2d16a
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册