<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/subtree, branch v2.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-01-20T22:53:18Z</updated>
<entry>
<title>contrib/subtree: fix "subtree split" skipped-merge bug</title>
<updated>2016-01-20T22:53:18Z</updated>
<author>
<name>Dave Ware</name>
<email>davidw@realtimegenomics.com</email>
</author>
<published>2016-01-15T00:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=933cfeb90b5d03b4096db6d60494a6eedea25d03'/>
<id>urn:sha1:933cfeb90b5d03b4096db6d60494a6eedea25d03</id>
<content type='text'>
'git subtree split' can incorrectly skip a merge even when both parents
act on the subtree, provided the merge results in a tree identical to
one of the parents. Fix by copying the merge if at least one parent is
non-identical, and the non-identical parent is not an ancestor of the
identical parent.

Also, add a test case which checks that a descendant remains a
descendent on the subtree in this case.

Signed-off-by: Dave Ware &lt;davidw@realtimegenomics.com&gt;
Reviewed-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dg/subtree-test-cleanup'</title>
<updated>2015-12-01T23:54:31Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-12-01T23:54:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=30fe9b2f9aece7f8f24bc069b9d7470b8291535e'/>
<id>urn:sha1:30fe9b2f9aece7f8f24bc069b9d7470b8291535e</id>
<content type='text'>
Test cleanups for the subtree project.

* dg/subtree-test-cleanup:
  contrib/subtree: Handle '--prefix' argument with a slash appended
  contrib/subtree: Make each test self-contained
  contrib/subtree: Add split tests
  contrib/subtree: Add merge tests
  contrib/subtree: Add tests for subtree add
  contrib/subtree: Add test for missing subtree
  contrib/subtree: Clean and refactor test code
</content>
</entry>
<entry>
<title>contrib/subtree: Handle '--prefix' argument with a slash appended</title>
<updated>2015-11-13T05:02:56Z</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d16031caf106dda2da52f10ef809cf4bfc83f7be'/>
<id>urn:sha1:d16031caf106dda2da52f10ef809cf4bfc83f7be</id>
<content type='text'>
'git subtree merge' will fail if the argument of '--prefix' has a slash
appended.

Signed-off-by: Techlive Zheng &lt;techlivezheng@gmail.com&gt;
Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: Make each test self-contained</title>
<updated>2015-11-13T05:02:56Z</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=43711746bd01eff9d8bac658bf1d6a39151088f2'/>
<id>urn:sha1:43711746bd01eff9d8bac658bf1d6a39151088f2</id>
<content type='text'>
Each test runs a full repository creation and any subtree actions
needed to perform the test.  Each test starts with a clean slate,
making debugging and post-mortem analysis much easier.

Signed-off-by: Techlive Zheng &lt;techlivezheng@gmail.com&gt;
Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: Add split tests</title>
<updated>2015-11-13T05:02:56Z</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4fe2e33cc961328ea24e821692abc305d28e8ddb'/>
<id>urn:sha1:4fe2e33cc961328ea24e821692abc305d28e8ddb</id>
<content type='text'>
Add tests to check various options to split.  Check combinations of
--prefix, --message, --annotate, --branch and --rejoin.

Signed-off-by: Techlive Zheng &lt;techlivezheng@gmail.com&gt;
Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: Add merge tests</title>
<updated>2015-11-13T05:02:56Z</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4f96fcc9a2a2d756c5523c49a57f97b53c9cadb6'/>
<id>urn:sha1:4f96fcc9a2a2d756c5523c49a57f97b53c9cadb6</id>
<content type='text'>
Add some tests for various merge operations.  Test combinations of merge
with --message, --prefix and --squash.

Signed-off-by: Techlive Zheng &lt;techlivezheng@gmail.com&gt;
Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: Add tests for subtree add</title>
<updated>2015-11-13T05:02:56Z</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c9924996c95cfcc7633448e7ee8b88f440ccbd2b'/>
<id>urn:sha1:c9924996c95cfcc7633448e7ee8b88f440ccbd2b</id>
<content type='text'>
Add some tests to check various options to subtree add.  These test
various combinations of --message, --prefix and --squash.

Signed-off-by: Techlive Zheng &lt;techlivezheng@gmail.com&gt;
Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: Add test for missing subtree</title>
<updated>2015-11-13T05:02:56Z</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a686701184bc9e3d54b2870455f3ff276360299e'/>
<id>urn:sha1:a686701184bc9e3d54b2870455f3ff276360299e</id>
<content type='text'>
Test that a merge from a non-existant subtree fails.

Signed-off-by: Techlive Zheng &lt;techlivezheng@gmail.com&gt;
Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: Clean and refactor test code</title>
<updated>2015-11-13T05:02:56Z</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b0638aa2f8f7fa4e9c5d8569ee30b64fc21fba32'/>
<id>urn:sha1:b0638aa2f8f7fa4e9c5d8569ee30b64fc21fba32</id>
<content type='text'>
Mostly prepare for the later tests refactoring.  This moves some
common code to helper functions and generally cleans things up to be
more presentable.

Signed-off-by: Techlive Zheng &lt;techlivezheng@gmail.com&gt;
Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>contrib/subtree: remove "push" command from the "todo" file</title>
<updated>2015-11-06T17:32:33Z</updated>
<author>
<name>Fabio Porcedda</name>
<email>fabio.porcedda@gmail.com</email>
</author>
<published>2015-11-05T15:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=45470396499488d9c8ddc8e0008d2596d5926931'/>
<id>urn:sha1:45470396499488d9c8ddc8e0008d2596d5926931</id>
<content type='text'>
Because the "push" command is already available, remove it from the
"todo" file.

Signed-off-by: Fabio Porcedda &lt;fabio.porcedda@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
