summaryrefslogtreecommitdiff
path: root/t/t2013-checkout-submodule.sh
AgeCommit message (Collapse)AuthorFilesLines
2009-04-02Fix 'git checkout <submodule>' to update the indexLibravatar Johannes Schindelin1-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>