Re: [PATCH] Color support for "git-add -i"

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

 



El 5/12/2007, a las 13:21, Johannes Sixt escribió:

Junio C Hamano schrieb:
+color.interactive::
+	When true (or `always`), always use colors in `git add
+	--interactive`.  When false (or `never`), never.  When set to
+	`auto`, use colors only when the output is to the
+	terminal. Defaults to false.

Any particular reason why color.interactive = true should be different from color.diff = true? See 57f2b842 ("color.diff = true" is not "always" anymore)

I wonder when you'd ever run an interactive command and not be in a terminal? ie. it doesn't make much sense to ever do "git add -i > foo", except perhaps from the test suite.

Notwithstanding, consistency for the sake of consistency is probably a good thing.

Cheers,
Wincent


-
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]

  Powered by Linux