summaryrefslogtreecommitdiff
path: root/builtin/clone.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-28 18:57:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-28 18:57:54 (GMT)
commita6fed65a6aae37bb7e126674d44587b828e90e52 (patch)
tree9366efcc4b2abd6f40bd1ad2d3946ceaad373288 /builtin/clone.c
parent27f0d3b63d5d20ebaba4cb45dddfc2e29649f18c (diff)
parent85064630fcca70eae2ca28807b1770a833c3545f (diff)
downloadgit-a6fed65a6aae37bb7e126674d44587b828e90e52.zip
git-a6fed65a6aae37bb7e126674d44587b828e90e52.tar.gz
git-a6fed65a6aae37bb7e126674d44587b828e90e52.tar.bz2
Merge branch 'jk/check-corrupt-objects-carefully'
* jk/check-corrupt-objects-carefully: clone: Make the 'junk_mode' symbol a file static
Diffstat (limited to 'builtin/clone.c')
-rw-r--r--builtin/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index 58fee98..035ab64 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -387,7 +387,7 @@ static void clone_local(const char *src_repo, const char *dest_repo)
static const char *junk_work_tree;
static const char *junk_git_dir;
static pid_t junk_pid;
-enum {
+static enum {
JUNK_LEAVE_NONE,
JUNK_LEAVE_REPO,
JUNK_LEAVE_ALL