summaryrefslogtreecommitdiff
path: root/builtin-unpack-file.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <chriscool@tuxfamily.org>2010-01-19 05:25:58 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-24 17:46:41 -0800
commitffbc5dc2d0cbdbd63a4ae04dc2cc1ebf385fcc25 (patch)
treec73f84fd521a7097a97f3893bbf5c5e89b200691 /builtin-unpack-file.c
parentreset: add option "--keep" to "git reset" (diff)
downloadtgif-ffbc5dc2d0cbdbd63a4ae04dc2cc1ebf385fcc25.tar.xz
reset: add test cases for "--keep" option
This shows that with the "--keep" option, changes that are both in the work tree and the index are kept in the work tree after the reset (but discarded in the index). In the case of unmerged entries, we can see that "git reset --keep" works only when the target state is the same as HEAD. And then the work tree is not reset. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-unpack-file.c')
0 files changed, 0 insertions, 0 deletions