summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-28 11:57:54 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-28 11:57:54 -0700
commita6fed65a6aae37bb7e126674d44587b828e90e52 (patch)
tree9366efcc4b2abd6f40bd1ad2d3946ceaad373288
parent27f0d3b63d5d20ebaba4cb45dddfc2e29649f18c (diff)
parent85064630fcca70eae2ca28807b1770a833c3545f (diff)
downloadgit-a6fed65a6aae37bb7e126674d44587b828e90e52.tar.gz
Merge branch 'jk/check-corrupt-objects-carefully'
* jk/check-corrupt-objects-carefully: clone: Make the 'junk_mode' symbol a file static
-rw-r--r--builtin/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index 58fee9874f..035ab64950 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