summaryrefslogtreecommitdiff
path: root/t/t0030-stripspace.sh
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@inf.ethz.ch>2013-06-01 13:02:00 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-02 12:31:17 -0700
commitf0c73200e86b6166596f45ce32b7f04291074182 (patch)
treee5cf183cf35e94811ba9f8b4ac0639d5d03305de /t/t0030-stripspace.sh
parentGit 1.8.2 (diff)
downloadtgif-f0c73200e86b6166596f45ce32b7f04291074182.tar.xz
Test 'commit --only' after 'checkout --orphan'
There are some index handling subtleties in 'commit --only' that are best tested when we have an existing index, but an unborn or empty HEAD. These circumstances are easily produced by 'checkout --orphan', but we did not previously have a test for it. The main expected failure mode would be: erroneously loading the existing index contents when building the temporary index that is used for --only. Cf. http://article.gmane.org/gmane.comp.version-control.git/225969 and subsequent discussion. Signed-off-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0030-stripspace.sh')
0 files changed, 0 insertions, 0 deletions