summaryrefslogtreecommitdiff
path: root/builtin/mktree.c
diff options
context:
space:
mode:
authorLibravatar Martin Ågren <martin.agren@gmail.com>2021-01-03 10:36:47 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-04 11:31:25 -0800
commit34479d717756bd363280ac65bfd71569d954f74b (patch)
tree10ba293262c8729b7ad045c6aab2efbb2da53972 /builtin/mktree.c
parentt1300: remove duplicate test for `--file ../foo` (diff)
downloadtgif-34479d717756bd363280ac65bfd71569d954f74b.tar.xz
t1300: remove duplicate test for `--file no-such-file`
We test that we can handle `git config --file symlink` and the error case of `git config --file symlink-to-missing-file`. For good measure, we also throw in a test to check that we correctly handle referencing a missing regular file. But we have such a test earlier in this script. They both check that we fail to use `--file no-such-file --list`. Drop the latter of these and keep the one that is in the general area where we test `--file` and `GIT_CONFIG`. The one we're dropping also checks that we can't even get a specific key from the missing file -- let's make sure we check that in the test we keep. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mktree.c')
0 files changed, 0 insertions, 0 deletions