Git fork

builtin: remove USE_THE_REPOSITORY for those without the_repository

For builtins that do not operate on a repository, remove
the #define USE_THE_REPOSITORY.

Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

John Cai and committed by
Junio C Hamano
49d24346 03eae9af

-9
-1
builtin/check-ref-format.c
··· 1 1 /* 2 2 * GIT - The information manager from hell 3 3 */ 4 - #define USE_THE_REPOSITORY_VARIABLE 5 4 #include "builtin.h" 6 5 #include "refs.h" 7 6 #include "setup.h"
-1
builtin/credential-cache.c
··· 1 - #define USE_THE_REPOSITORY_VARIABLE 2 1 #include "builtin.h" 3 2 #include "credential.h" 4 3 #include "gettext.h"
-1
builtin/diagnose.c
··· 1 - #define USE_THE_REPOSITORY_VARIABLE 2 1 #include "builtin.h" 3 2 #include "abspath.h" 4 3 #include "gettext.h"
-1
builtin/get-tar-commit-id.c
··· 1 1 /* 2 2 * Copyright (c) 2005, 2006 Rene Scharfe 3 3 */ 4 - #define USE_THE_REPOSITORY_VARIABLE 5 4 #include "builtin.h" 6 5 #include "commit.h" 7 6 #include "tar.h"
-1
builtin/mailsplit.c
··· 4 4 * It just splits a mbox into a list of files: "0001" "0002" .. 5 5 * so you can process them further from there. 6 6 */ 7 - #define USE_THE_REPOSITORY_VARIABLE 8 7 #include "builtin.h" 9 8 #include "gettext.h" 10 9 #include "string-list.h"
-1
builtin/prune-packed.c
··· 1 - #define USE_THE_REPOSITORY_VARIABLE 2 1 #include "builtin.h" 3 2 #include "gettext.h" 4 3 #include "parse-options.h"
-1
builtin/remote-ext.c
··· 1 - #define USE_THE_REPOSITORY_VARIABLE 2 1 #include "builtin.h" 3 2 #include "transport.h" 4 3 #include "run-command.h"
-1
builtin/remote-fd.c
··· 1 - #define USE_THE_REPOSITORY_VARIABLE 2 1 #include "builtin.h" 3 2 #include "transport.h" 4 3
-1
builtin/upload-pack.c
··· 1 - #define USE_THE_REPOSITORY_VARIABLE 2 1 #include "builtin.h" 3 2 #include "exec-cmd.h" 4 3 #include "gettext.h"