<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/git.git/contrib/subtree, branch pb/commit-editmsg-path</title>
<subtitle>github.com: git/git.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/'/>
<entry>
<title>Merge branch 'dw/subtree-split-do-not-drop-merge'</title>
<updated>2016-02-03T22:16:03+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-03T22:16:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=dd65a9e5e3b6298e4fa52e21680008e7fd5556ea'/>
<id>dd65a9e5e3b6298e4fa52e21680008e7fd5556ea</id>
<content type='text'>
The "split" subcommand of "git subtree" (in contrib/) incorrectly
skipped merges when it shouldn't, which was corrected.

* dw/subtree-split-do-not-drop-merge:
  contrib/subtree: fix "subtree split" skipped-merge bug
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "split" subcommand of "git subtree" (in contrib/) incorrectly
skipped merges when it shouldn't, which was corrected.

* dw/subtree-split-do-not-drop-merge:
  contrib/subtree: fix "subtree split" skipped-merge bug
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dg/subtree-test'</title>
<updated>2016-02-03T22:16:00+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-03T22:16:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=da94a08967155212a6948f01cd30f5e9b36191a8'/>
<id>da94a08967155212a6948f01cd30f5e9b36191a8</id>
<content type='text'>
* dg/subtree-test:
  contrib/subtree: Make testing easier
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dg/subtree-test:
  contrib/subtree: Make testing easier
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rm/subtree-unwrap-tags'</title>
<updated>2016-01-22T21:08:45+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-01-22T21:08:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=a039a79e9d00fed442f31ce69054e98e7dd1fc69'/>
<id>a039a79e9d00fed442f31ce69054e98e7dd1fc69</id>
<content type='text'>
"git subtree" (in contrib/) records the tag object name in the
commit log message when a subtree is added using a tag, without
peeling it down to the underlying commit.  The tag needs to be
peeled when "git subtree split" wants to work on the commit, but
the command forgot to do so.

* rm/subtree-unwrap-tags:
  contrib/subtree: unwrap tag refs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"git subtree" (in contrib/) records the tag object name in the
commit log message when a subtree is added using a tag, without
peeling it down to the underlying commit.  The tag needs to be
peeled when "git subtree split" wants to work on the commit, but
the command forgot to do so.

* rm/subtree-unwrap-tags:
  contrib/subtree: unwrap tag refs
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib/subtree: fix "subtree split" skipped-merge bug</title>
<updated>2016-01-20T22:53:18+00:00</updated>
<author>
<name>Dave Ware</name>
<email>davidw@realtimegenomics.com</email>
</author>
<published>2016-01-15T00:41:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=933cfeb90b5d03b4096db6d60494a6eedea25d03'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'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;
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib/subtree: Make testing easier</title>
<updated>2016-01-19T18:15:20+00:00</updated>
<author>
<name>David A. Greene</name>
<email>greened@obbligato.org</email>
</author>
<published>2016-01-17T23:47:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=43cce5c8ed48ab955b3347f999cda7c1c33dde0a'/>
<id>43cce5c8ed48ab955b3347f999cda7c1c33dde0a</id>
<content type='text'>
Add some Makefile dependencies to ensure an updated git-subtree
gets copied to the main area before testing begins.

Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add some Makefile dependencies to ensure an updated git-subtree
gets copied to the main area before testing begins.

Signed-off-by: David A. Greene &lt;greened@obbligato.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dg/subtree-test-cleanup'</title>
<updated>2015-12-01T23:54:31+00:00</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-12-01T23:54:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=30fe9b2f9aece7f8f24bc069b9d7470b8291535e'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib/subtree: unwrap tag refs</title>
<updated>2015-11-24T21:53:35+00:00</updated>
<author>
<name>Rob Mayoff</name>
<email>mayoff@dqd.com</email>
</author>
<published>2015-11-13T17:25:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=5d65fe312e22594b7fec7349945fb0072987716b'/>
<id>5d65fe312e22594b7fec7349945fb0072987716b</id>
<content type='text'>
If a subtree was added using a tag ref, the tag ref is stored in
the subtree commit message instead of the underlying commit's ref.
To split or push subsequent changes to the subtree, the subtree
command needs to unwrap the tag ref.  This patch makes it do so.

The problem was described in a message to the mailing list from
Junio C Hamano dated 29 Apr 2014, with the subject "Re: git subtree
issue in more recent versions". The archived message can be found
at &lt;http://comments.gmane.org/gmane.comp.version-control.git/247503&gt;.

Signed-off-by: Rob Mayoff &lt;mayoff@dqd.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a subtree was added using a tag ref, the tag ref is stored in
the subtree commit message instead of the underlying commit's ref.
To split or push subsequent changes to the subtree, the subtree
command needs to unwrap the tag ref.  This patch makes it do so.

The problem was described in a message to the mailing list from
Junio C Hamano dated 29 Apr 2014, with the subject "Re: git subtree
issue in more recent versions". The archived message can be found
at &lt;http://comments.gmane.org/gmane.comp.version-control.git/247503&gt;.

Signed-off-by: Rob Mayoff &lt;mayoff@dqd.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib/subtree: Handle '--prefix' argument with a slash appended</title>
<updated>2015-11-13T05:02:56+00:00</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=d16031caf106dda2da52f10ef809cf4bfc83f7be'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'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;
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib/subtree: Make each test self-contained</title>
<updated>2015-11-13T05:02:56+00:00</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=43711746bd01eff9d8bac658bf1d6a39151088f2'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib/subtree: Add split tests</title>
<updated>2015-11-13T05:02:56+00:00</updated>
<author>
<name>Techlive Zheng</name>
<email>techlivezheng@gmail.com</email>
</author>
<published>2015-11-13T02:32:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=4fe2e33cc961328ea24e821692abc305d28e8ddb'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
</feed>
