Jeff King
0c88bf5050
provide --color option for all ref-filter users
...
When ref-filter learned about want_color() in 11b087adfd
(ref-filter: consult want_color() before emitting colors,
2017-07-13), it became useful to be able to turn colors off
and on for specific commands. For git-branch, you can do so
with --color/--no-color.
But for git-for-each-ref and git-tag, the other users of
ref-filter, you have no option except to tweak the
"color.ui" config setting. Let's give both of these commands
the usual color command-line options.
This is a bit more obvious as a method for overriding the
config. And it also prepares us for the behavior of "always"
changing (so that we are still left with a way of forcing
color when our output goes to a non-terminal).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-10-04 11:35:29 +09:00
..
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2016-09-07 12:59:42 -07:00
2016-11-22 13:55:20 -08:00
2017-06-24 14:28:41 -07:00
2017-07-13 12:42:51 -07:00
2017-03-21 11:18:41 -07:00
2017-07-05 13:32:57 -07:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2016-02-22 14:51:09 -08:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-07-13 12:42:51 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-07-10 13:42:51 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-05-30 14:45:03 +09:00
2017-07-10 13:42:51 -07:00
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2017-06-24 15:29:31 -07:00
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2017-03-31 08:33:56 -07:00
2017-07-05 13:32:57 -07:00
2017-06-24 14:28:41 -07:00
2017-10-04 11:35:29 +09:00
2017-07-05 13:32:56 -07:00
2017-07-12 15:18:23 -07:00
2017-07-13 12:42:51 -07:00
2017-06-15 12:56:22 -07:00
2017-06-15 12:56:22 -07:00
2017-07-05 13:32:57 -07:00
2017-06-15 12:56:22 -07:00
2016-06-13 10:37:48 -07:00
2017-07-12 15:18:23 -07:00
2017-06-24 14:28:41 -07:00
2017-06-23 18:27:07 -07:00
2017-06-24 14:28:41 -07:00
2017-03-21 11:18:41 -07:00
2017-05-08 12:18:19 +09:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-03-26 22:08:21 -07:00
2016-09-15 13:17:32 -07:00
2017-05-08 15:12:57 +09:00
2017-06-24 14:28:41 -07:00
2017-05-08 12:18:19 +09:00
2017-06-15 12:56:22 -07:00
2017-07-10 13:42:51 -07:00
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2017-05-08 12:18:19 +09:00
2017-04-14 03:53:25 -07:00
2017-06-15 12:56:22 -07:00
2017-06-24 11:09:52 -07:00
2017-07-05 13:32:56 -07:00
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-07-12 15:18:23 -07:00
2017-07-10 13:42:51 -07:00
2017-05-30 14:45:04 +09:00
2017-05-30 14:45:04 +09:00
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2017-07-10 13:42:51 -07:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-07-13 12:42:51 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-06-15 12:56:22 -07:00
2017-07-13 12:42:51 -07:00
2017-01-23 18:51:56 -08:00
2017-06-15 12:56:22 -07:00
2017-07-06 18:14:44 -07:00
2017-06-15 12:56:22 -07:00
2017-10-04 11:35:29 +09:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-06-15 12:56:22 -07:00
2017-05-30 14:45:04 +09:00
2017-06-15 12:56:22 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00
2017-07-13 12:42:50 -07:00
2017-06-24 14:28:41 -07:00
2017-06-15 12:56:22 -07:00