]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'bc/parse-options-exit-0-on-help'
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 17:42:16 +0000 (10:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 17:42:16 +0000 (10:42 -0700)
Option parsing with 'git rev-parse --parseopt' and in most 'git'
subcommands has been updated to exit with 0 (instead of 129) when the
help option ('-h' or '--help') is requested directly by the user,
aligning with standard Unix convention.

* bc/parse-options-exit-0-on-help:
  parse-options: exit 0 on -h
  rev-parse: have --parseopt callers exit 0 on --help
  parse-options: add a separate case for help output on error
  t1517: skip svn tests if svn is not installed

1  2 
builtin/blame.c
builtin/update-index.c
t/t1900-repo-info.sh
t/t3200-branch.sh
t/t7508-status.sh
t/t7900-maintenance.sh

diff --cc builtin/blame.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge