]>
git.ipfire.org Git - thirdparty/git.git/blob - t/t2106-update-index-assume-unchanged.sh
3 test_description
='git update-index --assume-unchanged test.
8 test_expect_success
'setup' \
11 git commit -m initial &&
13 echo upstream >file &&
15 git commit -m upstream'
17 test_expect_success
'do not switch branches with dirty file' \
21 git update-index --assume-unchanged file &&
22 test_must_fail git checkout master'