diff options
| author | Jonathan Nieder <jrnieder@gmail.com> | 2010-06-14 00:28:50 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-06-14 10:32:02 -0700 |
| commit | 18c8ff46104302ea30e879a0f2cb5eefb94df1a4 (patch) | |
| tree | 6d18767b4cc22a3c2397bd86c1f6e9e70cd1a79f /test-path-utils.c | |
| parent | 86c7bb47c76948bd1240a0db5b8dd88cf9db855d (diff) | |
| download | git-18c8ff46104302ea30e879a0f2cb5eefb94df1a4.tar.gz | |
t3508 (cherry-pick): futureproof against unmerged files
Each of the tests in t3508 begins by navigating to a sane state:
git checkout master &&
git reset --hard $commit
If a previous test left unmerged files around, they are untouched and
the checkout fails, causing later tests to fail, too. This is not a
problem in practice because no test except the final one produces
unmerged files.
But as a futureproofing measure, it is still best to avoid the problem
with 'checkout -f'. In particular, this is needed for new tests to be
added to the end of the script.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-path-utils.c')
0 files changed, 0 insertions, 0 deletions
