Re: [PATCH B v4 1/5] git config: reorganize to use parseopt
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 22, 2009, 16:48 UTC
- Message-ID
- <7vskm62z9w.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1235177369-2727-2-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 7 quoted lines
> + else if (actions == ACTION_GET_COLORBOOL) {
> + if (argc == 1)
> + stdout_is_tty = git_config_bool("command line", argv[0]);
> + else if (argc == 0)
> + stdout_is_tty = isatty(1);
> + return get_colorbool(argc != 0);
> + }I see you fixed this from the last series...