Skip to content

am: improve test coverage and touch up foreign patch parsing

Paul Tan git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v15 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5t4150: test applying StGit patcht/t4150-am.sh+22 -00 replies
2/5am: teach StGit patch parser how to read from stdingit-am.sh t/t4150-am.sh+12 -10 replies
3/5t4150: test applying StGit seriest/t4150-am.sh+17 -00 replies
4/5am: use gmtime() to parse mercurial patch dategit-am.sh t/t4150-am.sh+26 -30 replies
5/5am: teach mercurial patch parser how to read from stdingit-am.sh t/t4150-am.sh+12 -10 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchChris PackhamJunio C Hamano
1/5Based-on-patch-by
2/5Based-on-patch-by Helped-by
3/5
4/5
5/5Based-on-patch-by Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] am: improve test coverage and touch up foreign patch parsing

This is a re-roll of [v1].

Previous versions:

[v1] http://thread.gmane.org/gmane.comp.version-control.git/271053

git-am is able to parse StGit and mercurial patches. However, there are no regression tests in the test suite for these patch formats, and there are some small bugs as well:

* the mercurial and stgit patch parsers does not support reading from stdin

* the mercurial patch parser parsed the patch date wrongly and git-am is thus unable to reconstruct the exact commit.

Some patches are based on Chris' patch series[1], which I've credited accordingly.

[1] http://thread.gmane.org/gmane.comp.version-control.git/256502

Paul Tan (5):
t4150: test applying StGit patch
am: teach StGit patch parser how to read from stdin
t4150: test applying StGit series
am: use gmtime() to parse mercurial patch date
am: teach mercurial patch parser how to read from stdin

 git-am.sh     | 12 +++++----
 t/t4150-am.sh | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.4