<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/script/backport.sh, branch ethomson/test_https</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>scripts: add backporting script</title>
<updated>2018-01-12T11:10:00+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2018-01-12T11:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=0b3d85925751c2b3fd49effa50f7bd7b558b4926'/>
<id>0b3d85925751c2b3fd49effa50f7bd7b558b4926</id>
<content type='text'>
This adds a simple script for backporting pull requests to older
branches. It accepts as parameters a list of pull request numbers which
whose commits are to be cherry-picked. The identification of PRs
currently happens by using the commit message of the merge of the PR,
which should conform to the message "Merge pull request #&lt;PR&gt;".

While the heuristic works in practice, we could instead also use the
direct references from GitHub via "pull/#&lt;PR&gt;/head". This requires the
user to have all these references fetched, though, so we can just use
the current heuristic until we experience any issues with that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a simple script for backporting pull requests to older
branches. It accepts as parameters a list of pull request numbers which
whose commits are to be cherry-picked. The identification of PRs
currently happens by using the commit message of the merge of the PR,
which should conform to the message "Merge pull request #&lt;PR&gt;".

While the heuristic works in practice, we could instead also use the
direct references from GitHub via "pull/#&lt;PR&gt;/head". This requires the
user to have all these references fetched, though, so we can just use
the current heuristic until we experience any issues with that.
</pre>
</div>
</content>
</entry>
</feed>
