summaryrefslogtreecommitdiff
path: root/t/perf/p3400-rebase.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-11-14 08:25:31 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-16 11:52:13 +0900
commit04519d72011478e17b2dbb177820ef2c886b8e5f (patch)
treee93d9866e52086e05489d8c20b40d089a690304b /t/perf/p3400-rebase.sh
parentrebase: really just passthru the `git am` options (diff)
downloadtgif-04519d72011478e17b2dbb177820ef2c886b8e5f.tar.xz
rebase: validate -C<n> and --whitespace=<mode> parameters early
It is a good idea to error out early upon seeing, say, `-Cbad`, rather than starting the rebase only to have the `--am` backend complain later. Let's do this. The only options accepting parameters which we pass through to `git am` (which may, or may not, forward them to `git apply`) are `-C` and `--whitespace`. The other options we pass through do not accept parameters, so we do not have to validate them here. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p3400-rebase.sh')
0 files changed, 0 insertions, 0 deletions