#!/bin/sh test_description='reduced 7501' . ./test-lib.sh test_expect_success setup ' >file && git add file && test_tick && git commit -m initial ' if test -f ../trace.log then mv ../trace.log ../trace.log.old fi test_expect_success 'partial commit that involves removal (1)' ' test_tick && git rm --cached file && mv file elif && git add elif && strace -f -o ../trace.log git commit -m "Partial: add elif" elif && git diff-tree --name-status HEAD^ HEAD >current && echo "A elif" >expected && diff expected current ' test_done