diff options
author | Elijah Newren <newren@gmail.com> | 2020-04-01 04:17:35 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-01 11:10:38 -0700 |
commit | ce5c61a3f52b48497898dbe4e535e725b1c45794 (patch) | |
tree | 505d399bbec408adea68a1a53e9712dc3dab29b8 /t/t4100/t-apply-3.expect | |
parent | Git 2.25.2 (diff) | |
download | tgif-ce5c61a3f52b48497898dbe4e535e725b1c45794.tar.xz |
t7063: more thorough status checking
It turns out the t7063 has some testcases that even without using the
untracked cache cover situations that nothing else in the testsuite
handles. Checking the results of
git status --porcelain
both with and without the untracked cache, and comparing both against
our expected results helped uncover a critical bug in some dir.c
restructuring.
Unfortunately, it's not easy to run status and tell it to ignore the
untracked cache; the only knob we have is core.untrackedCache=false,
which is used to instruct git to *delete* the untracked cache (which
might also ignore the untracked cache when it operates, but that isn't
specified in the docs).
Create a simple helper that will create a clone of the index that is
missing the untracked cache bits, and use it to compare that the results
with the untracked cache match the results we get without the untracked
cache.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100/t-apply-3.expect')
0 files changed, 0 insertions, 0 deletions