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>
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* GIT - The information manager from hell
|
* GIT - The information manager from hell
|
||||||
*/
|
*/
|
||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "refs.h"
|
#include "refs.h"
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "credential.h"
|
#include "credential.h"
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "abspath.h"
|
#include "abspath.h"
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2005, 2006 Rene Scharfe
|
* Copyright (c) 2005, 2006 Rene Scharfe
|
||||||
*/
|
*/
|
||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "commit.h"
|
#include "commit.h"
|
||||||
#include "tar.h"
|
#include "tar.h"
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
* It just splits a mbox into a list of files: "0001" "0002" ..
|
* It just splits a mbox into a list of files: "0001" "0002" ..
|
||||||
* so you can process them further from there.
|
* so you can process them further from there.
|
||||||
*/
|
*/
|
||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
#include "string-list.h"
|
#include "string-list.h"
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
#include "parse-options.h"
|
#include "parse-options.h"
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "transport.h"
|
#include "transport.h"
|
||||||
#include "run-command.h"
|
#include "run-command.h"
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "transport.h"
|
#include "transport.h"
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#define USE_THE_REPOSITORY_VARIABLE
|
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "exec-cmd.h"
|
#include "exec-cmd.h"
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
Reference in New Issue
Block a user