builtin/reset: add --recurse-submodules switch
authorStefan Beller <sbeller@google.com>
Fri, 21 Apr 2017 17:39:53 +0000 (10:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 00:32:39 +0000 (17:32 -0700)
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>
No differences found