All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/10] color and pager improvements
@ 2011-08-18  4:58 Jeff King
  2011-08-18  5:00 ` [PATCH 01/10] t7006: modernize calls to unset Jeff King
                   ` (12 more replies)
  0 siblings, 13 replies; 37+ messages in thread
From: Jeff King @ 2011-08-18  4:58 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Steffen Daode Nurpmeso, Ingo Brückl

While looking at the pager and color code today, I decided to tackle two
long-standing bugs, which entailed a lot of refactoring of the color
code. The result fixes some minor bugs, and is a little nicer for
calling code to use.

  [01/10]: t7006: modernize calls to unset
  [02/10]: test-lib: add helper functions for config
  [03/10]: t7006: use test_config helpers

These three are just cleanup I noticed before adding new tests to t7006;
I hope that the helpers in 02/10 will be useful in a lot of other
places, though.

  [04/10]: setup_pager: set GIT_PAGER_IN_USE

This fixes Ingo's problem from:

  http://article.gmane.org/gmane.comp.version-control.git/179430

Namely that:

  git -p stash show

fails to use colors properly.

  [05/10]: diff: refactor COLOR_DIFF from a flag into an int
  [06/10]: git_config_colorbool: refactor stdout_is_tty handling
  [07/10]: color: delay auto-color decision until point of use

These three fix the problem Steffen mentioned here:

  http://article.gmane.org/gmane.comp.version-control.git/177792

Namely that pager.color doesn't work in many cases. This has been a
problem for years, but spread due to some pager-ordering changes late
last year (see the comments in 07/10). I actually wonder if anyone is
really using pager.color, as we haven't seen many complaints about it.

  [08/10]: config: refactor get_colorbool function
  [09/10]: diff: don't load color config in plumbing
  [10/10]: want_color: automatically fallback to color.ui

These three are refactoring that is made possible by 07/10. I think they
make the code cleaner, and hopefully the diffstat of 10/10 speaks for
itself.

-Peff

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2012-02-14 19:13 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18  4:58 [PATCH 0/10] color and pager improvements Jeff King
2011-08-18  5:00 ` [PATCH 01/10] t7006: modernize calls to unset Jeff King
2011-08-18 21:05   ` Junio C Hamano
2011-08-18  5:01 ` [PATCH 02/10] test-lib: add helper functions for config Jeff King
2011-08-18 21:10   ` Junio C Hamano
2011-08-18  5:02 ` [PATCH 03/10] t7006: use test_config helpers Jeff King
2011-08-18  5:02 ` [PATCH 04/10] setup_pager: set GIT_PAGER_IN_USE Jeff King
2011-08-18  5:03 ` [PATCH 05/10] diff: refactor COLOR_DIFF from a flag into an int Jeff King
2011-08-18  5:03 ` [PATCH 06/10] git_config_colorbool: refactor stdout_is_tty handling Jeff King
2011-08-18  5:04 ` [PATCH 07/10] color: delay auto-color decision until point of use Jeff King
2011-08-18 21:59   ` Junio C Hamano
2011-08-18 22:28     ` Jeff King
2011-08-18  5:04 ` [PATCH 08/10] config: refactor get_colorbool function Jeff King
2011-08-18  5:05 ` [PATCH 09/10] diff: don't load color config in plumbing Jeff King
2011-08-18  5:05 ` [PATCH 10/10] want_color: automatically fallback to color.ui Jeff King
2011-09-04  2:36   ` Martin von Zweigbergk
2011-09-04 12:53     ` Jeff King
2011-09-05 11:31       ` Steffen Daode Nurpmeso
2011-08-18 21:58 ` [PATCH 0/10] color and pager improvements Jeff King
2011-08-18 21:59   ` [PATCH 11/10] support pager.* for aliases Jeff King
2011-08-18 22:54     ` Junio C Hamano
2011-08-19  3:37       ` Jeff King
2011-08-19  4:18         ` Junio C Hamano
2011-08-19  4:40           ` Jeff King
2011-08-19  5:23             ` Junio C Hamano
2011-08-19  5:43               ` Junio C Hamano
2011-08-19  8:30               ` Jeff King
2011-08-18 22:01   ` [PATCH 12/10] support pager.* for external commands Jeff King
2011-08-18 22:56     ` Junio C Hamano
2012-02-12  0:46     ` Ævar Arnfjörð Bjarmason
2012-02-14 19:13       ` Jeff King
2011-08-18 22:33   ` [PATCH 0/10] color and pager improvements Ingo Brückl
2011-08-18 22:46     ` Jeff King
2011-08-19  6:34       ` Ingo Brückl
2011-08-25 20:25         ` Jeff King
2011-08-18 21:59 ` Steffen Daode Nurpmeso
2011-08-18 22:02 ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.