]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ms/refs-exists' into next
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Sep 2025 21:54:37 +0000 (14:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Sep 2025 21:54:37 +0000 (14:54 -0700)
"git refs exists" that works like "git show-ref --exists" has been
added.

* ms/refs-exists:
  t: add test for git refs exists subcommand
  t1422: refactor tests to be shareable
  t1403: split 'show-ref --exists' tests into a separate file
  builtin/refs: add 'exists' subcommand

1  2 
Documentation/git-refs.adoc
t/meson.build

index d462953fb5ee3a82ac8230b45a01861ecb6b93b2,5d2032b318a224d3b5cea82d203373be367168f7..bfa9b3ea2d8b19770fe43f5623af8c6266512da5
@@@ -17,7 -17,8 +17,8 @@@ git refs list [--count=<count>] [--shel
                   [--merged[=<object>]] [--no-merged[=<object>]]
                   [--contains[=<object>]] [--no-contains[=<object>]]
                   [(--exclude=<pattern>)...] [--start-after=<marker>]
 -                 [ --stdin | <pattern>... ]
 +                 [ --stdin | (<pattern>...)]
+ git refs exists <ref>
  
  DESCRIPTION
  -----------
diff --cc t/meson.build
Simple merge