diff options
author | Shubham Mishra <shivam828787@gmail.com> | 2022-03-12 11:51:25 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-12 16:22:01 -0800 |
commit | 9b6d1fc48a29abdd49c267ce1bf06bac5151a0e4 (patch) | |
tree | 3d9b60799bcb86c478241e7330414c0db2012800 /gitweb/static/js/javascript-detection.js | |
parent | ae5d569bb22ea4e889c9a2da757ed0c253ec1fc1 (diff) |
t0001-t0028: avoid pipes with Git on LHS
Pipes ignore error codes of LHS command and thus we should not use
them with Git in tests. As an alternative, use a 'tmp' file to write
the Git output so we can test the exit code.
Signed-off-by: Shubham Mishra <shivam828787@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/javascript-detection.js')
0 files changed, 0 insertions, 0 deletions