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

[RFC/PATCH v3 0/4] Disable "git status" comment prefix

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Aug 29, 2013, 13:05 UTC
Message-ID
<1377781536-31955-1-git-send-email-Matthieu.Moy@imag.fr>
So, here's a reroll that makes the code cleaner.

First patches are cleanups without behavioral changes, only the last one does something new.

I'm waiting for more comments to decide what to do with the configuration option. Right now, my preference would be to call it status.oldStyle and default it to false (i.e. change the behavior, but allow old-timers to get back the old one).

Matthieu Moy (4):
  builtin/stripspace.c: fix broken indentation
  wt-status: use argv_array API
  get rid of "git submodule summary --for-status"
  status: introduce status.displayCommentChar to disable display of #
 Documentation/config.txt     |  5 +++
 builtin/commit.c             |  9 +++++
 builtin/stripspace.c         |  8 ++---
 git-submodule.sh             | 17 +--------
 t/t7401-submodule-summary.sh | 13 -------
 t/t7508-status.sh            | 43 +++++++++++++++++++++++
 wt-status.c                  | 82 +++++++++++++++++++++++++++++++++-----------
 wt-status.h                  |  1 +
 8 files changed, 125 insertions(+), 53 deletions(-)
-- 
1.8.4.12.gf9d53a3.dirty
Next: Matthieu Moy
Message 1 of 16 in “Disable "git status" comment prefix”
  1. 0/4 Disable "git status" comment prefixMatthieu Moy, Aug 29, 2013
  2. 1/4 builtin/stripspace.c: fix broken indentationMatthieu Moy, Aug 29, 2013
  3. 2/4 wt-status: use argv_array APIMatthieu Moy, Aug 29, 2013
  4. 3/4 get rid of "git submodule summary --for-status"Matthieu Moy, Aug 29, 2013
  5. Jens LehmannAug 29, 2013
  6. Matthieu MoyAug 29, 2013
  7. Jens LehmannAug 30, 2013
  8. Jens LehmannAug 30, 2013
  9. Jens LehmannAug 30, 2013
  10. brian m. carlsonAug 31, 2013
  11. Jens LehmannSep 1, 2013
  12. Jens LehmannSep 3, 2013
  13. Junio C HamanoAug 29, 2013
  14. Matthieu MoyAug 29, 2013
  15. 4/4 status: introduce status.displayCommentChar to disable display of #Matthieu Moy, Aug 29, 2013
  16. Junio C HamanoAug 29, 2013

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.