diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2010-01-19 05:26:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-06 20:06:50 -0800 |
commit | ab892a19e83edd1cf9a767bc09d3239f72469d05 (patch) | |
tree | c642dab6edcaafe10e5d1f14c04fd21efbf662ed /Documentation/RelNotes-1.5.1.3.txt | |
parent | Documentation: reset: describe new "--keep" option (diff) | |
download | tgif-ab892a19e83edd1cf9a767bc09d3239f72469d05.tar.xz |
reset: disallow "reset --keep" outside a work tree
It is safer and consistent with "--merge" and "--hard" resets to disallow
"git reset --keep" outside a work tree.
So let's just do that and add some tests while at it.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.5.1.3.txt')
0 files changed, 0 insertions, 0 deletions