[PATCH 0/2] git-am foreign patch support
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- May 25, 2009, 19:14 UTC
- Message-ID
- <1243278846-14120-1-git-send-email-giuseppe.bilotta@gmail.com>
This small patchset introduces a framework to allow git-am to support patchsets not in mailbox format.
The first patch introduces a new patch_format variable that holds the (autodetected) patch format. All patches are assumed to be in the same format. Autodetection for Mercurial and StGIT patches is also implemented, including series index expansion for StGIT.
The second patch introduces actual support for StGIT patches by using some awk code to convert them to mailbox format.
Giuseppe Bilotta (2): git-am foreign patch support: format autodetection git-am foreign patch support: StGIT
git-am.sh | 140 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 137 insertions(+), 3 deletions(-)