aboutsummaryrefslogtreecommitdiff
path: root/builtin-checkout.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-04-18 14:18:29 -0700
committerJunio C Hamano <gitster@pobox.com>2009-04-18 14:18:29 -0700
commitf3924858133dff1e94c992b689fa425a6d27d4fd (patch)
treef36c23d1e0f411e29f2b265e247977cedac01e71 /builtin-checkout.c
parenteb8a1c4aed2728e1be1c5e39fb9e5a3f4b209fc4 (diff)
parentbef3894847118ab8c8668ddc90fa238ae9e05baa (diff)
downloadgit-f3924858133dff1e94c992b689fa425a6d27d4fd.tar.gz
git-f3924858133dff1e94c992b689fa425a6d27d4fd.tar.xz
Merge branch 'js/maint-submodule-checkout' into maint
* js/maint-submodule-checkout: Fix 'git checkout <submodule>' to update the index
Diffstat (limited to 'builtin-checkout.c')
-rw-r--r--builtin-checkout.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/builtin-checkout.c b/builtin-checkout.c
index ed0f318c0..b121fe56d 100644
--- a/builtin-checkout.c
+++ b/builtin-checkout.c
@@ -53,9 +53,6 @@ static int update_some(const unsigned char *sha1, const char *base, int baselen,
int len;
struct cache_entry *ce;
- if (S_ISGITLINK(mode))
- return 0;
-
if (S_ISDIR(mode))
return READ_TREE_RECURSIVE;