git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@imag.fr>
To: git@vger.kernel.org, gitster@pobox.com
Cc: Matthieu Moy <Matthieu.Moy@imag.fr>
Subject: [PATCH v4 0/5] Disable "git status" comment prefix
Date: Thu,  5 Sep 2013 11:50:13 +0200	[thread overview]
Message-ID: <1378374618-31439-1-git-send-email-Matthieu.Moy@imag.fr> (raw)

Compared to v2, this changes essentially:

* The prefix is actually disabled by default in this version. As a
  consequence, the option is renamed to status.oldStyle.

* Since this is the default, the tests are updated to test the new
  defaults. In a first patch, I'm setting status.oldStyle=true in test
  files that require it (to keep the patch short), and the last patch
  actually updates the test expected results. This was actually useful
  as I did find (and fix) a few bugs updating the tests:

  - the --columns option was still showing the comment prefix

  - "git commit --dry-run" and failed "git commit" were still
    displaying comments to stdout.

* The --for-status option is kept as a no-op.

Matthieu Moy (5):
  builtin/stripspace.c: fix broken indentation
  wt-status: use argv_array API
  submodule summary: ignore --for-status option
  status: disable display of '#' comment prefix by default
  tests: don't set status.oldStyle file-wide

 Documentation/config.txt           |   7 +
 builtin/commit.c                   |  10 +
 builtin/stripspace.c               |   8 +-
 git-submodule.sh                   |  13 +-
 t/t3001-ls-files-others-exclude.sh |   2 +-
 t/t7060-wtstatus.sh                | 109 +++--
 t/t7401-submodule-summary.sh       |  12 +-
 t/t7508-status.sh                  | 944 +++++++++++++++++++------------------
 wt-status.c                        |  85 +++-
 wt-status.h                        |   1 +
 10 files changed, 640 insertions(+), 551 deletions(-)

-- 
1.8.4.4.g70bf5e8.dirty

             reply	other threads:[~2013-09-05  9:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05  9:50 Matthieu Moy [this message]
2013-09-05  9:50 ` [PATCH v4 1/5] builtin/stripspace.c: fix broken indentation Matthieu Moy
2013-09-05  9:50 ` [PATCH v4 2/5] wt-status: use argv_array API Matthieu Moy
2013-09-05  9:50 ` [PATCH v4 3/5] submodule summary: ignore --for-status option Matthieu Moy
2013-09-05  9:50 ` [PATCH v4 4/5] status: disable display of '#' comment prefix by default Matthieu Moy
2013-09-05  9:50 ` [PATCH v4 5/5] tests: don't set status.oldStyle file-wide Matthieu Moy
2013-09-05 12:35 ` [PATCH v4 0/5] Disable "git status" comment prefix Matthieu Moy
2013-09-05 19:13 ` Junio C Hamano
2013-09-05 19:36   ` Matthieu Moy
2013-09-05 23:09     ` Junio C Hamano
2013-09-05 23:23     ` Jeff King
2013-09-06 16:44       ` Matthieu Moy
2013-09-06 16:53       ` Jonathan Nieder
2013-09-06 17:28         ` Matthieu Moy
2013-09-06 18:12           ` Junio C Hamano
2013-09-06 18:43             ` Matthieu Moy
2013-09-06 21:55           ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1378374618-31439-1-git-send-email-Matthieu.Moy@imag.fr \
    --to=matthieu.moy@imag.fr \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).