Re: [PATCH 05/13] move git_default_* variables to ident.c
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 21, 2012, 04:07 UTC
- Message-ID
- <7vsjeu89dd.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120518231113.GE30031@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 14 quoted lines
> diff --git a/cache.h b/cache.h
> index 86224c8..f63b71f 100644
> --- a/cache.h
> +++ b/cache.h
> @@ -1142,9 +1142,6 @@ struct config_include_data {
> #define CONFIG_INCLUDE_INIT { 0 }
> extern int git_config_include(const char *name, const char *value, void *data);
>
> -#define MAX_GITNAME (1000)
> -extern char git_default_email[MAX_GITNAME];
> -extern char git_default_name[MAX_GITNAME];
> #define IDENT_NAME_GIVEN 01
> #define IDENT_MAIL_GIVEN 02
> #define IDENT_ALL_GIVEN (IDENT_NAME_GIVEN|IDENT_MAIL_GIVEN)During this step, builtin/fmt-merge-msg.c ceases to compile, even though in the end it is fixed...