diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-07-22 19:29:02 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-22 21:42:05 -0700 |
commit | 3639fefe7d1d7bf881ea6128cedc4fc503164edc (patch) | |
tree | 4c03edb5d3b31a031f2e92db2ab1fb7dcc8be388 /commit.c | |
parent | 6a475b71f8c4ce708d69fdc9317aefbde3769e25 (diff) |
t1006: extract --batch-command inputs to variables
A future commit will want to ensure that various `--batch`-related
options produce the same output whether their input is newline
terminated, or NUL terminated (and a to-be-implemented `-z` option
exists).
To prepare for this, extract the given input(s) into separate variables
to that their LF characters can easily be converted into NUL bytes when
testing the new `-z` mode.
This is consistent with other tests in t1006 (which these days is no
longer a shining example of our CodingGuidelines).
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions