diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-01-12 11:02:19 +0000 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-01-12 11:10:00 +0000 |
commit | 0b3d85925751c2b3fd49effa50f7bd7b558b4926 (patch) | |
tree | 0fd22562b1f842c1d880aa6e31bec82497effd7a /tests/diff/diffiter.c | |
parent | 7610638ec829ffd6da6d5f74b5b14dbb32b74924 (diff) | |
download | libgit2-0b3d85925751c2b3fd49effa50f7bd7b558b4926.tar.gz |
scripts: add backporting script
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 #<PR>".
While the heuristic works in practice, we could instead also use the
direct references from GitHub via "pull/#<PR>/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.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions