Re: [PATCH 1/2] Add a test for checking whether gitattributes is honored by checkout.

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH 1/2] Add a test for checking whether gitattributes is honored by checkout.

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:46:22

Kristian Amlie [off-list ref] writes:
+test_expect_success 'setup' '
If you have two separate patches for test and bugfix, you probably
want the first to introduce test_expect_failure, and the second to
change it to test_expect_success. This way: 1) the test-suite passes
for all commits (and git-bisect will be your friend again), and 2) the
second patch is self-explanatory about the bug it fixes.

-- 
Matthieu

Re: [PATCH 1/2] Add a test for checking whether gitattributes is honored by checkout.

From: Kristian Amlie <hidden>
Date: 2016-06-15 22:46:22

ext Matthieu Moy wrote:
Kristian Amlie [off-list ref] writes:
quoted
+test_expect_success 'setup' '
If you have two separate patches for test and bugfix, you probably
want the first to introduce test_expect_failure, and the second to
change it to test_expect_success. This way: 1) the test-suite passes
for all commits (and git-bisect will be your friend again), and 2) the
second patch is self-explanatory about the bug it fixes.
Good point. I'll fix that in my next batch.

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