]> git.99rst.org Git - git.git/commit
Merge branch 'bc/parse-options-exit-0-on-help'
authorJunio C Hamano <redacted>
Sun, 19 Jul 2026 17:42:16 +0000 (10:42 -0700)
committerJunio C Hamano <redacted>
Sun, 19 Jul 2026 17:42:16 +0000 (10:42 -0700)
commit620657c9417f113823e7b8f860386f43bfd7ee3c
tree8436fa6f08439c9e36f40fb9376f9905646458ce
parentde46554375d557f50ef7905ace58fdb7d94b9cfc
parentcdaf12f762855b293829ccf540698f86ccb9655e
Merge branch 'bc/parse-options-exit-0-on-help'

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
builtin/blame.c
builtin/update-index.c
t/t1900-repo-info.sh
t/t3200-branch.sh
t/t7508-status.sh
t/t7900-maintenance.sh
git clone https://git.99rst.org/PROJECT