summaryrefslogtreecommitdiff
path: root/t/t2013-checkout-submodule.sh
Commit message (Collapse)AuthorAgeFilesLines
* Fix 'git checkout <submodule>' to update the indexJohannes Schindelin2009-04-021-0/+42
While 'git checkout <submodule>' should not update the submodule's working directory, it should update the index. This is in line with how submodules are handled in the rest of Git. While at it, test 'git reset [<commit>] <submodule>', too. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>