]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/tag-idempotent-no-op' into seen
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Jun 2025 16:49:53 +0000 (09:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jun 2025 16:49:53 +0000 (09:49 -0700)
"git tag T O" when the tag T is already pointing at the object O is
a no-op; we used to but no longer error out such a request and
require "--force" and instead turn it into a no-op.

Comments?

* jc/tag-idempotent-no-op:
  tag: allow idempotent "git tag" without "--force"

1  2 
builtin/tag.c

diff --cc builtin/tag.c
Simple merge