From: Junio C Hamano Date: Tue, 28 Jan 2025 21:02:22 +0000 (-0800) Subject: Merge branch 'jc/show-usage-help' X-Git-Tag: v2.49.0-rc0~83 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0a371a39d8b9945b2e0a414a32aa861614e5352;p=thirdparty%2Fgit.git Merge branch 'jc/show-usage-help' The help text from "git $cmd -h" appear on the standard output for some $cmd and the standard error for others. The built-in commands have been fixed to show them on the standard output consistently. * jc/show-usage-help: builtin: send usage() help text to standard output oddballs: send usage() help text to standard output builtins: send usage_with_options() help text to standard output usage: add show_usage_if_asked() parse-options: add show_usage_with_options_if_asked() t0012: optionally check that "-h" output goes to stdout --- f0a371a39d8b9945b2e0a414a32aa861614e5352