summaryrefslogtreecommitdiff
path: root/t/t4064-diff-oidfind.sh
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2020-04-27 02:44:08 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-28 10:47:42 -0700
commitce9baf234f04d2f1d183edbdc14e4ee9da46d895 (patch)
treeed079a7af9cddb5a14164abd88e4765e473c0be7 /t/t4064-diff-oidfind.sh
parentGit 2.26.2 (diff)
downloadtgif-ce9baf234f04d2f1d183edbdc14e4ee9da46d895.tar.xz
push: unset PARSE_OPT_OPTARG for --recurse-submodules
When the usage for `git push` is shown, it includes the following lines --recurse-submodules[=(check|on-demand|no)] control recursive pushing of submodules which seem to indicate that the argument for --recurse-submodules is optional. However, we cannot actually run that optiion without an argument: $ git push --recurse-submodules fatal: recurse-submodules missing parameter Unset PARSE_OPT_OPTARG so that it is clear that this option requires an argument. Since the parse-options machinery guarantees that an argument is present now, assume that `arg` is set in the else of option_parse_recurse_submodules(). Reported-by: Andrew White <andrew.white@audinate.com> Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4064-diff-oidfind.sh')
0 files changed, 0 insertions, 0 deletions