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-04-20 22:05:37 -07:00
2017-07-12 15:25:14 -07:00
2017-06-13 13:27:02 -07:00
2017-01-31 12:18:18 -08:00
2017-02-24 10:48:08 -08:00
2017-01-23 10:56:47 -08:00
2017-06-05 09:03:10 +09:00
2017-07-06 18:14:46 -07:00
2017-01-17 15:19:08 -08:00
2017-01-23 15:59:23 -08:00
2017-03-02 11:40:51 -08:00
2017-03-02 11:40:51 -08:00
2016-12-23 12:32:22 -08:00
2017-03-02 11:40:51 -08:00
2017-06-15 09:10:44 -07:00
2017-03-02 11:40:51 -08:00
2017-04-20 22:05:38 -07:00
2017-05-09 21:13:13 -07:00
2017-04-01 11:35:45 -07:00
2017-04-11 00:21:50 -07:00
2017-02-21 13:02:42 -08:00
2017-03-16 14:07:16 -07:00
2017-05-01 11:09:44 +09:00
2017-05-01 11:01:52 +09:00
2017-03-17 11:19:40 -07:00
2017-03-22 10:13:41 -07:00
2017-04-13 16:15:25 -07:00
2017-02-08 13:30:28 -08:00
2017-06-12 09:50:33 -07:00
2017-01-17 15:19:10 -08:00
2017-06-12 09:44:54 -07:00
2017-10-04 11:35:29 +09:00
2017-04-23 22:07:55 -07:00
2017-02-24 09:59:12 -08:00
2017-05-21 08:25:37 +09:00
2017-01-13 12:23:28 -08:00
2017-02-17 15:57:21 -08:00
2017-05-23 14:18:26 +09:00
2017-04-16 23:29:30 -07:00
2017-03-02 11:40:51 -08:00
2017-03-30 14:07:13 -07:00
2017-01-23 18:33:17 -08:00
2017-01-18 15:12:12 -08:00
2017-06-18 22:16:36 -07:00
2017-04-19 18:53:06 -07:00
2017-06-04 10:20:59 +09:00
2017-07-12 15:18:24 -07:00
2017-04-16 18:19:18 -07:00
2017-04-27 08:09:25 +09:00
2017-06-27 10:35:49 -07:00
2017-06-01 10:37:42 +09:00
2017-07-12 15:18:21 -07:00
2017-07-06 18:14:46 -07:00
2017-03-22 15:41:21 -07:00
2016-12-16 09:39:10 -08:00
2017-06-18 22:16:36 -07:00
2017-06-18 22:17:47 -07:00
2017-07-12 15:18:21 -07:00
2017-06-15 01:09:31 +00:00
2017-10-04 11:35:29 +09:00
2017-04-20 22:05:37 -07:00
2017-03-06 12:09:28 -08:00
2017-01-17 16:10:22 -08:00
2017-04-20 17:59:02 -07:00
2017-06-05 09:05:38 +09:00
2017-06-15 10:55:47 -07:00
2017-06-18 22:16:36 -07:00
2017-04-20 22:05:38 -07:00
2017-05-02 10:58:06 +09:00
2017-02-15 12:54:20 -08:00
2017-02-28 11:34:38 -08:00
2017-01-07 14:03:40 -08:00
2017-02-09 15:14:01 -08:00
2017-05-16 11:13:00 +09:00
2017-01-18 15:12:18 -08:00
2017-04-26 15:39:07 +09:00
2017-05-01 11:01:52 +09:00
2017-02-15 12:54:20 -08:00
2017-06-22 15:25:25 -07:00
2017-02-09 15:14:01 -08:00
2017-02-09 15:14:01 -08:00
2017-04-20 22:05:37 -07:00
2017-05-15 13:04:54 +09:00
2017-02-09 15:14:01 -08:00
2017-06-18 22:18:15 -07:00
2017-06-22 15:25:25 -07:00
2017-07-13 12:42:51 -07:00
2017-06-22 14:15:25 -07:00
2017-04-19 21:37:25 -07:00
2017-05-04 16:26:46 +09:00
2017-01-23 10:56:53 -08:00
2017-01-13 10:30:16 -08:00