Thread (2 messages) flat view 2 messages, 2 authors, 2019-08-01

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

From: Todd Zullinger <hidden>
Date: 2019-08-01 22:19:04

Possibly related (same subject, not in this thread)

Junio C Hamano wrote:
Junio C Hamano [off-list ref] writes:
quoted
Jeff King [off-list ref] writes:
quoted
quoted
+	if (mailmap < 0)
 		mailmap = 0;
-	}
This should be "mailmap = 1" to match the commit message, no? (Which
also implies we may want a new test).
[...]
+test_expect_success 'log.mailmap is true by default these days' '
+	git log --author Santa | grep Author >actual &&
+	test_cmp expect actual
+'
+
 test_expect_success 'Only grep replaced author with --use-mailmap' '
 	git log --use-mailmap --author "[off-list ref]" >actual &&
 	test_must_be_empty actual
With log.mailmap true by default, should we also have some
tests to ensure that --no-use-mailmap and log.mailmap=False
do the right thing?  (I mean eventually, not necessarily
with this patch as extra work for you Junio.)

(If I was certain the answer is "yes" and more familiar with
t4203, I would have sent this in diff format.)

-- 
Todd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help