diff options
| author | Jialong Wang <jerrywang183@yahoo.com> | 2026-03-16 21:15:44 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-16 21:29:49 -0700 |
| commit | 4c2390067030d67c1b79fd96eb656ae63b91643b (patch) | |
| tree | c887bed3b0bd11683733e4d2cb60ce4ade774b00 /Documentation/CodingGuidelines | |
| parent | ca1db8a0f7dc0dbea892e99f5b37c5fe5861be71 (diff) | |
| download | git-4c2390067030d67c1b79fd96eb656ae63b91643b.tar.xz | |
t2203: avoid suppressing git status exit code
When git status is piped into grep, the exit status of the Git
command is hidden by the pipeline. Capture the status output in a
temporary file first, and then filter it as needed, so that any
failure from git status is still noticed by the test suite.
Signed-off-by: Jialong Wang <jerrywang183@yahoo.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/CodingGuidelines')
0 files changed, 0 insertions, 0 deletions
