Re: What's cooking in git.git (Jul 2019, #06; Thu, 25)

2019-08-08 Thread Ariadne Conill
Hello, On Thu, Aug 8, 2019 at 10:07 PM Phil Hord wrote: > > The issue of deadnaming aside, turning on log.mailmap by default is > the sensible thing to do given that other Git features already honor > it that way. Having it ignored-by-default (but only sometimes) just > adds confusion when a mai

Re: What's cooking in git.git (Jul 2019, #06; Thu, 25)

2019-08-08 Thread Ariadne Conill
more robust mailmap replacement down the line, because that is going to require more careful consideration. > On Thu, Aug 08, 2019 at 09:34:15PM -0400, Ariadne Conill wrote: > > Hello, > > > > On August 8, 2019 8:13:15 PM EDT, Taylor Blau wrote: > > >Hi Junio, > > &

Re: What's cooking in git.git (Jul 2019, #06; Thu, 25)

2019-08-08 Thread Ariadne Conill
Hello, On August 8, 2019 8:13:15 PM EDT, Taylor Blau wrote: >Hi Junio, > >On Thu, Jul 25, 2019 at 05:19:23PM -0700, Junio C Hamano wrote: >> Here are the topics that have been cooking. Commits prefixed with >> '-' are only in 'pu' (proposed updates) while commits prefixed with >> '+' are in 'nex

Re: Git for Windows v2.23.0-rc0, was Re: [ANNOUNCE] Git v2.23.0-rc0

2019-08-01 Thread Ariadne Conill
ate jun...@cox.net from my paged/interactive output, I > want to eradicate it also in the output piped to the script I use > for authorship stats. > > I suspect that you may have misread the "is interactive" bit in the > original; that was used only to decide if we are going to war

Re: Git for Windows v2.23.0-rc0, was Re: [ANNOUNCE] Git v2.23.0-rc0

2019-07-31 Thread Ariadne Conill
Hello, On Wed, Jul 31, 2019 at 10:21 PM Junio C Hamano wrote: > > Jeff King writes: > > > This seems OK to me, though I kind of wonder if anybody really wants > > "auto". Unlike log.decorate, which changes the syntax, there is no real > > reason to avoid mailmap when somebody else is parsing the

Re: Git for Windows v2.23.0-rc0, was Re: [ANNOUNCE] Git v2.23.0-rc0

2019-07-31 Thread Ariadne Conill
Hello, On Wed, Jul 31, 2019 at 8:00 PM Jeff King wrote: > > On Wed, Jul 31, 2019 at 05:21:25PM -0700, Jonathan Nieder wrote: > > > Although as Dscho mentions, it's particularly irritating because it is > > not part of the paginated output. > > > > I wonder if the ideal might not be to trigger it

Re: Git for Windows v2.23.0-rc0, was Re: [ANNOUNCE] Git v2.23.0-rc0

2019-07-31 Thread Ariadne Conill
og.mailmap is set to "true" system-side, I can set it to "auto" in my > per-user configuration). This sounds like a great compromise, but honestly we should just flip the default. I can't think of any situation where the non-mapped author lines wouldn't be the

[PATCH v3 3/3] tests: defang pager tests by explicitly disabling the log.mailmap warning

2019-07-15 Thread Ariadne Conill
that we do this in the setup function. Signed-off-by: Ariadne Conill --- t/t7006-pager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/t7006-pager.sh b/t/t7006-pager.sh index 00e09a375c..7976fa7bcc 100755 --- a/t/t7006-pager.sh +++ b/t/t7006-pager.sh @@ -7,6 +7,8 @@ test_description

[PATCH v3 0/3] document deprecation of log.mailmap=false default

2019-07-15 Thread Ariadne Conill
lling terminal. - Tests which fake a controlling terminal have been defanged. Ariadne Conill (3): log: add warning for unspecified log.mailmap setting documentation: mention --no-use-mailmap and log.mailmap false setting tests: defang pager tests by explicitly disabling the log.mailmap wa

[PATCH v3 1/3] log: add warning for unspecified log.mailmap setting

2019-07-15 Thread Ariadne Conill
Based on discussions around changing the log.mailmap default to being enabled, it was decided that a transitional period is required. Accordingly, we announce this transitional period with a warning message. Signed-off-by: Ariadne Conill --- builtin/log.c | 26 -- 1

[PATCH v3 2/3] documentation: mention --no-use-mailmap and log.mailmap false setting

2019-07-15 Thread Ariadne Conill
well as briefly discuss the equivalence of it to log.mailmap=False. Signed-off-by: Ariadne Conill --- Documentation/config/log.txt | 3 ++- Documentation/git-log.txt| 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/config/log.txt b/Documentation/config/log.txt

[PATCH v2 3/3] tests: defang pager tests by explicitly disabling the log.mailmap warning

2019-07-12 Thread Ariadne Conill
In the previous patch, we added a deprecation warning for the current log.mailmap setting. This warning only appears when git is attached to a controlling terminal. Some tests however run under an emulated terminal, so we need to disable the warning for those tests. Signed-off-by: Ariadne Conill

[PATCH v2 1/3] log: add warning for unspecified log.mailmap setting

2019-07-12 Thread Ariadne Conill
Based on discussions around changing the log.mailmap default to being enabled, it was decided that a transitional period is required. Accordingly, we announce this transitional period with a warning message. Signed-off-by: Ariadne Conill --- builtin/log.c | 25 - 1 file

[PATCH v2 2/3] documentation: mention --no-use-mailmap and log.mailmap false setting

2019-07-12 Thread Ariadne Conill
well as briefly discuss the equivalence of it to log.mailmap=False. Signed-off-by: Ariadne Conill --- Documentation/config/log.txt | 3 ++- Documentation/git-log.txt| 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/config/log.txt b/Documentation/config/log.txt

[PATCH v2 0/3] document deprecation of log.mailmap=false default

2019-07-12 Thread Ariadne Conill
proceed. New in version 2: - The warning is disabled when `--format` is used. - The warning is disabled when not called from a controlling terminal. - Tests which fake a controlling terminal have been defanged. Ariadne Conill (3): log: add warning for unspecified log.mailmap setting

Re: [PATCH v1 0/2] document deprecation of log.mailmap=false default

2019-07-12 Thread Ariadne Conill
Hello, On Fri, Jul 12, 2019 at 12:50 PM Junio C Hamano wrote: > > Ariadne Conill writes: > > > Based on the discussion of the previous patches, we concluded that > > changing the default will require a transitional period. > > OK. > > > As such, I have intr

Re: [PATCH v4 0/3] use mailmap by default in git log

2019-07-12 Thread Ariadne Conill
Hello, On Fri, Jul 12, 2019 at 9:49 AM Junio C Hamano wrote: > > Junio C Hamano writes: > > > I do not think we usually do this without having to say "at this > > release" in such a warning. > > Sorry for horrible copy-editing that made the result say 100% > opposite of what I meant. I am bad a

[PATCH v1 1/2] log: add warning for unspecified log.mailmap setting

2019-07-12 Thread Ariadne Conill
Based on discussions around changing the log.mailmap default to being enabled, it was decided that a transitional period is required. Accordingly, we announce this transitional period with a warning message. Signed-off-by: Ariadne Conill --- builtin/log.c | 17 - 1 file changed

[PATCH v1 0/2] document deprecation of log.mailmap=false default

2019-07-12 Thread Ariadne Conill
proceed. Ariadne Conill (2): log: add warning for unspecified log.mailmap setting documentation: mention --no-use-mailmap and log.mailmap false setting Documentation/config/log.txt | 3 ++- Documentation/git-log.txt| 2 +- builtin/log.c| 17 - 3 files

[PATCH v1 2/2] documentation: mention --no-use-mailmap and log.mailmap false setting

2019-07-12 Thread Ariadne Conill
well as briefly discuss the equivalence of it to log.mailmap=False. Signed-off-by: Ariadne Conill --- Documentation/config/log.txt | 3 ++- Documentation/git-log.txt| 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/config/log.txt b/Documentation/config/log.txt

Re: [PATCH v4 0/3] use mailmap by default in git log

2019-07-12 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 2:34 PM Junio C Hamano wrote: > > Junio C Hamano writes: > > > Even though I personally think it is an OK longer-term end goal, the > > execution looks too hasty. The normal way we handle a big behaviour > > change like this is to do the following in steps, in dif

[PATCH v4 2/3] log: document --no-use-mailmap option

2019-07-11 Thread Ariadne Conill
by default or by the configuration. The previously undocumented --no-use-mailmap option equalizes this by allowing the user to explicitly enable or disable the mailmap feature according to their requirements. Signed-off-by: Ariadne Conill --- Documentation/config/log.txt | 4 ++-- Documentation

[PATCH v4 0/3] use mailmap by default in git log

2019-07-11 Thread Ariadne Conill
New in version 2: - The `--no-use-mailmap` option, which complements `--use-mailmap`. - Tests for `--no-use-mailmap`. Ariadne Conill (3): log: use mailmap by default log: document --no-use-mailmap option tests: rework mailmap tests for git log Documentation/config/log.txt

[PATCH v4 1/3] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
have that change (recorded in mailmap file) reflected when using `git log` by default. Anyone who explicitly wants the current behaviour can clearly request it by setting the `log.mailmap` setting to `false` in their `.gitconfig` file. Signed-off-by: Ariadne Conill --- builtin/log.c | 2 +- 1 file

[PATCH v4 3/3] tests: rework mailmap tests for git log

2019-07-11 Thread Ariadne Conill
from the tests, since they are redundant. We also rework some tests to explicitly define the log.mailmap variable in both true and false states. Signed-off-by: Ariadne Conill --- t/t4203-mailmap.sh | 49 ++ 1 file changed, 41 insertions(+), 8

Re: [PATCH v2 2/3] log: add --no-use-mailmap option to complement --use-mailmap option

2019-07-11 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 1:24 PM Beat Bolli wrote: > > On 11.07.19 19:26, Ariadne Conill wrote: > > When mailmap is enabled by default or by configuration, it may be > > useful to override the default behaviour. Previously, it was > > possible to enable the mai

[PATCH v3 1/3] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
have that change (recorded in mailmap file) reflected when using `git log` by default. Anyone who explicitly wants the current behaviour can clearly request it by setting the `log.mailmap` setting to `false` in their `.gitconfig` file. Signed-off-by: Ariadne Conill --- builtin/log.c | 2 +- 1 file

[PATCH v3 0/3] use mailmap by default in git log

2019-07-11 Thread Ariadne Conill
ommit messages. New in version 2: - The `--no-use-mailmap` option, which complements `--use-mailmap`. - Tests for `--no-use-mailmap`. Ariadne Conill (3): log: use mailmap by default log: add --no-use-mailmap option to complement --use-mailmap option tests: rework mailmap tests for gi

[PATCH v3 3/3] tests: rework mailmap tests for git log

2019-07-11 Thread Ariadne Conill
from the tests, since they are redundant. We also rework some tests to explicitly define the log.mailmap variable in both true and false states. Signed-off-by: Ariadne Conill --- t/t4203-mailmap.sh | 49 ++ 1 file changed, 41 insertions(+), 8

[PATCH v3 2/3] log: add --no-use-mailmap option to complement --use-mailmap option

2019-07-11 Thread Ariadne Conill
by default or by the configuration. The --no-use-mailmap option equalizes this by allowing the user to explicitly enable or disable the mailmap feature according to their requirements. Signed-off-by: Ariadne Conill --- Documentation/git-log.txt | 5 + builtin/log.c | 1 + 2

Re: [PATCH] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 12:09 PM Martin Ă…gren wrote: > > Hi Ariadne, > > Welcome to the list! Thanks! > On Thu, 11 Jul 2019 at 18:39, Ariadne Conill wrote: > > > > Hello, > > > > On Thu, Jul 11, 2019 at 10:19 AM brian m. carlson > >

Re: [PATCH v2 3/3] tests: add test for git log --no-use-mailmap

2019-07-11 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 12:32 PM Beat Bolli wrote: > > On 11.07.19 19:26, Ariadne Conill wrote: > > In order to prove that the --no-use-mailmap option works as expected, > > we add a test for it which runs with -Dlog.mailmap=true to ensure that > > s/-D/

[PATCH v2 2/3] log: add --no-use-mailmap option to complement --use-mailmap option

2019-07-11 Thread Ariadne Conill
by default or by the configuration. The --no-use-mailmap option equalizes this by allowing the user to explicitly enable or disable the mailmap feature according to their requirements. Signed-off-by: Ariadne Conill --- Documentation/git-log.txt | 5 + builtin/log.c | 1 + 2

[PATCH v2 3/3] tests: add test for git log --no-use-mailmap

2019-07-11 Thread Ariadne Conill
In order to prove that the --no-use-mailmap option works as expected, we add a test for it which runs with -Dlog.mailmap=true to ensure that the option successfully negates the configured default. Signed-off-by: Ariadne Conill --- t/t4203-mailmap.sh | 8 1 file changed, 8 insertions

[PATCH v2 1/3] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
have that change (recorded in mailmap file) reflected when using `git log` by default. Anyone who explicitly wants the current behaviour can clearly request it by setting the `log.mailmap` setting to `false` in their `.gitconfig` file. Signed-off-by: Ariadne Conill --- builtin/log.c | 2 +- 1 file

[PATCH v2 0/3] use mailmap by default in git log

2019-07-11 Thread Ariadne Conill
known contact information for a contributor, allowing anyone to contact the contributor about their patches in the future. New in version 2: - The `--no-use-mailmap` option, which complements `--use-mailmap`. - Tests for `--no-use-mailmap`. Ariadne Conill (3): log: use mailmap by default log

Re: [PATCH] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
Hello, On Thu, Jul 11, 2019 at 10:19 AM brian m. carlson wrote: > > On 2019-07-11 at 08:19:58, Ariadne Conill wrote: > > The `git log` command shows the author and committer name recorded in > > the git repository itself, while other commands respect `.mailmap` > > by def

[PATCH] log: use mailmap by default

2019-07-11 Thread Ariadne Conill
have that change (recorded in mailmap file) reflected when using `git log` by default. Anyone who explicitly wants the current behaviour can clearly request it by setting the `log.mailmap` setting to `false` in their `.gitconfig` file. Signed-off-by: Ariadne Conill --- builtin/log.c | 2 +- 1 file