diff options
| author | Andrei Rybak <rybak.a.v@gmail.com> | 2023-04-17 21:10:41 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-05-03 08:52:48 -0700 |
| commit | a7cae2905b8c51c564d0307cf9e8f3e53c2769c5 (patch) | |
| tree | 4c5b7bfb5251e3e338f8ee09d948702a3df32fdc /t/helper/test-lazy-init-name-hash.c | |
| parent | 6fc68e7ca3363a15104e7fc30fd1cae4758ac91c (diff) | |
t1300: don't create unused files
Three tests in t1300-config.sh check that "git config --get" barfs when
syntax errors are present in the config file. The tests redirect
standard output and standard error of "git config --get" to files,
"actual" and "error" correspondingly. They assert presence of an error
message in file "error". However, these tests don't use file "actual"
for assertions.
Don't redirect standard output of "git config --get" to file "actual" in
t1300-config.sh to avoid creating unnecessary files.
Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-lazy-init-name-hash.c')
0 files changed, 0 insertions, 0 deletions
