joyent / git-apply-pr

Validate GitHub PullRequests and add metadata
MIT License
8 stars 4 forks source link

support landing PRs with more than one commit #9

Closed misterdjules closed 9 years ago

misterdjules commented 9 years ago

Currently, when using git-apply-pr to land pull requests that contain more than one commit, git am complains about the format of the input.

The reason is that when processing subsequent commits, the current message is not cleared in the Mutator transform stream.

This change clears the message when moving on to the next commit, and allows to land PRs with multiple commits.

misterdjules commented 9 years ago

/cc @robertkowalski @tjfontaine

If/when this lands, I suggest bumping the patch number and publishing a new version on npm.

robertkowalski commented 9 years ago

super cool! thank you!

LGTM

misterdjules commented 9 years ago

@robertkowalski Thank you :+1: Landed in 34fc1c73db9e65a5b48b6c3430d26c7571bba73d. Bumped to 1.2.1 in df290edf5a4837715b8ddf17dfe8fc057d1babae.