Re: [PATCH/RFC 1/3] diffstat width: #define defaults in diff.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 28, 2010 at 9:50 PM, Matthew Ruffalo <mmr15@xxxxxxxx> wrote:
> diff --git a/diff.h b/diff.h
> index 0083d92..7b509c5 100644
> --- a/diff.h
> +++ b/diff.h
> @@ -86,6 +86,9 @@ typedef struct strbuf *(*diff_prefix_fn_t)(struct
> diff_options *opt, void *data)
> Â#define DIFF_XDL_SET(opts, flag) Â Â((opts)->xdl_opts |= XDF_##flag)
> Â#define DIFF_XDL_CLR(opts, flag) Â Â((opts)->xdl_opts &= ~XDF_##flag)
>
> +#define DIFF_STAT_DEFAULT_WIDTH Â Â Â 80
> +#define DIFF_STAT_DEFAULT_NAME_WIDTH Â50
> +

If this is only used in diff.c, can this be moved to diff.c instead?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]