]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/forbid-head-as-tagname'
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Dec 2024 01:54:26 +0000 (17:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Dec 2024 01:54:26 +0000 (17:54 -0800)
"git tag" has been taught to refuse to create refs/tags/HEAD
as such a tag will be confusing in the context of UI provided by
the Git Porcelain commands.

* jc/forbid-head-as-tagname:
  tag: "git tag" refuses to use HEAD as a tagname
  t5604: do not expect that HEAD can be a valid tagname
  refs: drop strbuf_ prefix from helpers
  refs: move ref name helpers around

1  2 
branch.c
builtin/branch.c
builtin/merge.c
builtin/tag.c
builtin/worktree.c
gitweb/gitweb.perl
refs.c
refs.h
t/t5604-clone-reference.sh

diff --cc branch.c
Simple merge
Simple merge
diff --cc builtin/merge.c
Simple merge
diff --cc builtin/tag.c
Simple merge
Simple merge
Simple merge
diff --cc refs.c
Simple merge
diff --cc refs.h
Simple merge
Simple merge