summaryrefslogtreecommitdiff
path: root/t/t7112-reset-submodule.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-04-23builtin/reset: add --recurse-submodules switchLibravatar Stefan Beller1-0/+8
git-reset is yet another working tree manipulator, which should be taught about submodules. When a user uses git-reset and requests to recurse into submodules, this will reset the submodules to the object name as recorded in the superproject, detaching the HEADs. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-07-14reset: add t7112 for submodule updatesLibravatar Jens Lehmann1-0/+14
Test that the reset command updates the work tree as expected for changes with '--keep', '--merge' (for changes which don't result in conflicts) and '--hard'. Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>