mirror of
https://github.com/git/git.git
synced 2025-12-18 12:00:25 +01:00
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>
1.5 KiB
Executable File
1.5 KiB
Executable File