clone: Make the 'junk_mode' symbol a file static
[gitweb.git] / builtin / clone.c
index f9c380eb6c536b657ddc65b88f6839ec761f7f25..2238ae82861940b9f1cc24dbe470771509e26fdf 100644 (file)
@@ -377,7 +377,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