summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorUsman Akinyemi <usmanakinyemi202@gmail.com>2024-10-12 23:09:32 +0000
committerTaylor Blau <me@ttaylorr.com>2024-10-14 12:03:35 -0400
commitc8fbae25c338b28143e79b253f12567ea48fcbb3 (patch)
tree4beed77299c54bdcc1bdf3a6c2b84198d3a13a9d /commit.c
parentef8ce8f3d4344fd3af049c17eeba5cd20d98b69f (diff)
t3404: avoid losing exit status with focus on `git show` and `git cat-file`
The exit code of the preceding command in a pipe is disregarded. So if that preceding command is a Git command that fails, the test would not fail. Instead, by saving the output of that Git command to a file, and removing the pipe, we make sure the test will fail if that Git command fails. This particular patch focuses on all `git show` and some instances of `git cat-file`. Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions