diff options
author | Brandon Casey <drafnel@gmail.com> | 2011-05-26 13:43:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-29 13:00:10 -0700 |
commit | 000f97bd11e94fa8ede7fcdb43f5633997fed672 (patch) | |
tree | e38c37f3bb280af092b5c34072cb51f39dbc7061 /t/t0026-eol-config.sh | |
parent | t7508: demonstrate status's failure to use --porcelain format with -z (diff) | |
download | tgif-000f97bd11e94fa8ede7fcdb43f5633997fed672.tar.xz |
builtin/commit.c: set status_format _after_ option parsing
'git status' should use --porcelain output format when -z is given.
It was not doing so since the _effect_ of using -z, namely that
null_termination would be set, was being checked _before_ option parsing
was performed.
So, move the check so that it is performed after option parsing.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0026-eol-config.sh')
0 files changed, 0 insertions, 0 deletions