Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-06 Thread Matthieu Moy
Jeff King p...@peff.net writes: # and have 472 and 59 different commits each, respectively. # # Untracked files: [...] and have 472 and 59 different commits each, respectively. Untracked files: Indeed, I forgot the else branch in wt_status_print_tracking: if

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-06 Thread Jonathan Nieder
Jeff King wrote: On Thu, Sep 05, 2013 at 09:36:47PM +0200, Matthieu Moy wrote: I'm fine with any name actually (since it is enabled by default, people don't need to know the name to benefit from the new output). Maybe status.displayCommentPrefix was the best name after all. FWIW, I had the

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-06 Thread Matthieu Moy
Jonathan Nieder jrnie...@gmail.com writes: Jeff King wrote: On Thu, Sep 05, 2013 at 09:36:47PM +0200, Matthieu Moy wrote: I'm fine with any name actually (since it is enabled by default, people don't need to know the name to benefit from the new output). Maybe status.displayCommentPrefix

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-06 Thread Junio C Hamano
Matthieu Moy matthieu@grenoble-inp.fr writes: Untracked files: t/foo test-obj-pool test-string-pool test-treap test-url-normalize nothing added to commit but untracked files present The added blank line before nothing added

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-06 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: Actually, nothing added ... is not a part of status proper; it will be clear if you run the command with comment prefix, whose output may end like so: # Untracked files: # (use git add file... to include in what will be committed) #

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-06 Thread Jeff King
On Fri, Sep 06, 2013 at 07:28:43PM +0200, Matthieu Moy wrote: FWIW, I had the same thought as Junio. I much prefer something like status.displayCommentPrefix for clarity and future-proofing. Sounds fine, but I don't understand why we'd want this to be an option with a future in the

[PATCH v4 0/5] Disable git status comment prefix

2013-09-05 Thread Matthieu Moy
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

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-05 Thread Matthieu Moy
Oops, this series forgot to update t7512-status-help.sh, which now fails. I'll send a reroll that updates it later (patch below). diff --git a/t/t7512-status-help.sh b/t/t7512-status-help.sh index 31a798f..0688d58 100755 --- a/t/t7512-status-help.sh +++ b/t/t7512-status-help.sh @@ -25,18 +25,18

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-05 Thread Junio C Hamano
Matthieu Moy matthieu@imag.fr writes: 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

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-05 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: One caveat, though. The name oldStyle will become problematic, when we want to remove some wart in the output format long after this no comment prefix by default series lands. Some people may expect setting oldStyle=true would give output from 1.8.4

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-05 Thread Junio C Hamano
Matthieu Moy matthieu@grenoble-inp.fr writes: Junio C Hamano gits...@pobox.com writes: One caveat, though. The name oldStyle will become problematic, when we want to remove some wart in the output format long after this no comment prefix by default series lands. Some people may expect

Re: [PATCH v4 0/5] Disable git status comment prefix

2013-09-05 Thread Jeff King
On Thu, Sep 05, 2013 at 09:36:47PM +0200, Matthieu Moy wrote: Junio C Hamano gits...@pobox.com writes: One caveat, though. The name oldStyle will become problematic, when we want to remove some wart in the output format long after this no comment prefix by default series lands. Some