Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-04-19 01:18:29 +0400
committerJunio C Hamano <gitster@pobox.com>2009-04-19 01:18:29 +0400
commitf3924858133dff1e94c992b689fa425a6d27d4fd (patch)
treef36c23d1e0f411e29f2b265e247977cedac01e71 /builtin-checkout.c
parenteb8a1c4aed2728e1be1c5e39fb9e5a3f4b209fc4 (diff)
parentbef3894847118ab8c8668ddc90fa238ae9e05baa (diff)
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 ed0f318c0c..b121fe56de 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;