]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/show-ref'
authorJunio C Hamano <gitster@pobox.com>
Wed, 8 Nov 2023 02:03:59 +0000 (11:03 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Nov 2023 02:04:00 +0000 (11:04 +0900)
Teach "git show-ref" a mode to check the existence of a ref.

* ps/show-ref:
  t: use git-show-ref(1) to check for ref existence
  builtin/show-ref: add new mode to check for reference existence
  builtin/show-ref: explicitly spell out different modes in synopsis
  builtin/show-ref: ensure mutual exclusiveness of subcommands
  builtin/show-ref: refactor options for patterns subcommand
  builtin/show-ref: stop using global vars for `show_one()`
  builtin/show-ref: stop using global variable to count matches
  builtin/show-ref: refactor `--exclude-existing` options
  builtin/show-ref: fix dead code when passing patterns
  builtin/show-ref: fix leaking string buffer
  builtin/show-ref: split up different subcommands
  builtin/show-ref: convert pattern to a local variable

1  2 
t/t3200-branch.sh

Simple merge