You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/09/16 21:46:59 UTC

git commit: Tweak repo-status to show diff from branch point

Updated Branches:
  refs/heads/master add5664cf -> 7584a56d5


Tweak repo-status to show diff from branch point


Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/7584a56d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/7584a56d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/7584a56d

Branch: refs/heads/master
Commit: 7584a56d5a85ab4dd02f038410b1f31c75ce134d
Parents: add5664
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Sep 16 15:46:19 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Sep 16 15:46:19 2013 -0400

----------------------------------------------------------------------
 coho | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/7584a56d/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index c3189f1..ff0d93c 100755
--- a/coho
+++ b/coho
@@ -804,7 +804,7 @@ function repoStatusCommand(argv) {
                 logs += changes + '\n';
                 if (argv.diff) {
                     diffs += 'Diff (truncated) for ' + repo.repoName + ' on branch ' + branchName + ' (vs ' + targetBranch + '):\n';
-                    diffs += execHelper('git diff ' + targetBranch + '..' + branchName, true).split('\n').slice(0, 30).join('\n');
+                    diffs += execHelper('git diff ' + targetBranch + '...' + branchName, true).split('\n').slice(0, 30).join('\n');
                     diffs += '\n\n';
                 }
             } else {