summaryrefslogtreecommitdiff
path: root/builtin/revert.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-02-20 04:12:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-02-22 06:57:38 (GMT)
commit2161da103950704a92993702696c9b573dcbccae (patch)
tree8cc3a5666653fe33fe15033598facc24b1099af1 /builtin/revert.c
parent7ed863a85a6ce2c4ac4476848310b8f917ab41f9 (diff)
downloadgit-2161da103950704a92993702696c9b573dcbccae.zip
git-2161da103950704a92993702696c9b573dcbccae.tar.gz
git-2161da103950704a92993702696c9b573dcbccae.tar.bz2
t3507: introduce pristine-detach helper
All the tests in t3507 (cherry-pick with conflicts) begin with the same checkout + read-tree + clean incantation to ensure a predictable starting point. Factor out a function for that so the interesting part of the tests is easier to read. The "update-index --refresh" and "diff-index --exit-code HEAD" are not necessary as the point of this testsuite is not about testing "read-tree --reset". Improved-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/revert.c')
0 files changed, 0 insertions, 0 deletions