Change pull request command from git am -> git pull
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/73c5cdc0 Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/73c5cdc0 Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/73c5cdc0 Branch: refs/heads/master Commit: 73c5cdc065aa5899ea40e7f910ed5959ac27fce0 Parents: 010e952 Author: Andrew Grieve <[email protected]> Authored: Wed Mar 12 23:00:12 2014 -0400 Committer: Andrew Grieve <[email protected]> Committed: Wed Mar 12 23:00:12 2014 -0400 ---------------------------------------------------------------------- coho | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/73c5cdc0/coho ---------------------------------------------------------------------- diff --git a/coho b/coho index 51aa42d..8e7dd6f 100755 --- a/coho +++ b/coho @@ -1935,7 +1935,8 @@ function listGitHubPullRequests(repo, maxAge, hideUser, callback) { console.log(pullRequest.user.login + ': ' + pullRequest.title + ' (\x1B[31m' + (pullRequest.lastUpdatedBy || '<no comments>') + ' ' + daysAgo + ' days ago\x1B[39m)'); console.log('\x1B[33m-----------------------------------------------------------------------------------------------\x1B[39m'); console.log('* ' + pullRequest.html_url); - console.log('To merge: curl "' + pullRequest.patch_url + '" | git am'); + // console.log('To merge: curl "' + pullRequest.patch_url + '" | git am'); + console.log('To merge: git pull ' + pullRequest.head.repo.clone_url + ' ' + pullRequest.head.ref); if (pullRequest.body) { console.log(pullRequest.body); }
