cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: Tweak repo-status to show diff from branch point
Date Mon, 16 Sep 2013 19:46:59 GMT
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 <agrieve@chromium.org>
Authored: Mon Sep 16 15:46:19 2013 -0400
Committer: Andrew Grieve <agrieve@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 {


Mime
View raw message