git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/10] color and pager improvements

From
SNSteffen Daode Nurpmeso <sdaoden@googlemail.com>
Date
Aug 18, 2011, 21:59 UTC
Message-ID
<20110818215953.GA68667@sherwood.local>
In-Reply-To
<20110818045821.GA17377@sigill.intra.peff.net>
@ Jeff King <peff@peff.net> wrote (2011-08-18 06:58+0200):
> These three fix the problem Steffen mentioned here:

Uuuh, such a shame - you know that it was first noted by Benjamin Kudria (2008-07-23, http://marc.info/?l=git&m=121677902502581&w=2). And it was you who tried to resurrect the same issue last year. (The thing is: i did not search the archive first because it was clearly a bug. I did once you referred to your older patch.) But great that you actually found the time to fix it!

(I must admit though that i'm currently addicted to the coloured output, because simply switching between my terms gives a clear indication of where i'm currently git(1)ing. :-> And that in turn is something which gives more and more fun the longer i use it! It is *really* fantastic once you get used to it. And do gc --aggressive and all your temporary fooling is cleaned up.)

Now it's pretty unfortunate that i cannot offer fixes for anything.

I have a dumb patch of 'rebase -i' which includes the TODO entry line ($rest) as a comment in the commit message, which is pretty useful because i think about the rebase task and can store comments in that very line. But it introduces commit --cleanup=strip and patches commit.c to add a --message-prefix option. This is no good yet.

Michael J Gruber's today's shocking exercise on the german keyboard layout - maybe i should really resurrect parts of that NBSP series?

And referring to one sentence of yours from the past: no, refspec
stuff *is* that hard: they are not a tree which is created via
'refs_build_tree(); refs_merge_command_line();' upon program
start, with pointers to maybe instantiated .. whatever.
/*
 * Note. This is used only by "push"; refspec matching rules for
 * push and fetch are subtly different, so do not try to reuse it
 * without thinking.
 */
I gave up once i found that (in remote.c).  (AFAIR it seems
refspecs are first build L->R, then pushed, then build again but
in R->L direction.  Which is why without a fetch= the remotes/
ref is not updated after a push.  AFAIK - i gave up ...)

But i'm looking forward and really hope to be able to contribute some useful and good stuff to great projects in the future. OpenBSD, for example. :-)

--Steffen
Ciao, sdaoden(*)(gmail.com)
ASCII ribbon campaign           ( ) More nuclear fission plants
  against HTML e-mail            X    can serve more coloured
    and proprietary attachments / \     and sounding animations
Previous: Jeff KingNext: Junio C Hamano
Message 36 of 37 in “color and pager improvements”
  1. 0/10 color and pager improvementsJeff King, Aug 18, 2011
  2. 01/10 t7006: modernize calls to unsetJeff King, Aug 18, 2011
  3. Junio C HamanoAug 18, 2011
  4. 02/10 test-lib: add helper functions for configJeff King, Aug 18, 2011
  5. Junio C HamanoAug 18, 2011
  6. 03/10 t7006: use test_config helpersJeff King, Aug 18, 2011
  7. 04/10 setup_pager: set GIT_PAGER_IN_USEJeff King, Aug 18, 2011
  8. 05/10 diff: refactor COLOR_DIFF from a flag into an intJeff King, Aug 18, 2011
  9. 06/10 git_config_colorbool: refactor stdout_is_tty handlingJeff King, Aug 18, 2011
  10. 07/10 color: delay auto-color decision until point of useJeff King, Aug 18, 2011
  11. Junio C HamanoAug 18, 2011
  12. Jeff KingAug 18, 2011
  13. 08/10 config: refactor get_colorbool functionJeff King, Aug 18, 2011
  14. 09/10 diff: don't load color config in plumbingJeff King, Aug 18, 2011
  15. 10/10 want_color: automatically fallback to color.uiJeff King, Aug 18, 2011
  16. Martin von ZweigbergkSep 4, 2011
  17. Jeff KingSep 4, 2011
  18. Steffen Daode NurpmesoSep 5, 2011
  19. Jeff KingAug 18, 2011
  20. 11/10 support pager.* for aliasesJeff King, Aug 18, 2011
  21. Junio C HamanoAug 18, 2011
  22. Jeff KingAug 19, 2011
  23. Junio C HamanoAug 19, 2011
  24. Jeff KingAug 19, 2011
  25. Junio C HamanoAug 19, 2011
  26. Junio C HamanoAug 19, 2011
  27. Jeff KingAug 19, 2011
  28. 12/10 support pager.* for external commandsJeff King, Aug 18, 2011
  29. Junio C HamanoAug 18, 2011
  30. Ævar Arnfjörð BjarmasonFeb 12, 2012
  31. Jeff KingFeb 14, 2012
  32. Ingo BrücklAug 18, 2011
  33. Jeff KingAug 18, 2011
  34. Ingo BrücklAug 19, 2011
  35. Jeff KingAug 25, 2011
  36. Steffen Daode NurpmesoAug 18, 2011
  37. Junio C HamanoAug 18, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.