projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b549c
)
gitlive.js
author
alan
<alan@alanfast.akbkhome.com>
Thu, 29 Apr 2010 02:40:29 +0000
(10:40 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Thu, 29 Apr 2010 02:40:29 +0000
(10:40 +0800)
gitlive.js
patch
|
blob
|
history
diff --git
a/gitlive.js
b/gitlive.js
index
677962d
..
0d37c5c
100644
(file)
--- a/
gitlive.js
+++ b/
gitlive.js
@@
-94,12
+94,7
@@
var monitor = new Monitor({
repos.push(cmd[0]);
}
var sp = Git.run.apply(Git,cmd);
-
- success.push([cmd[1],cmd[2]].join(' '));
- if (sp.length) {
- success.push(sp);
- }
- /*
+
switch (sp.result) {
case 0: // success:
success.push(sp.args.join(' '));
@@
-111,7
+106,7
@@
var monitor = new Monitor({
failure.push(sp.stderr);
break;
}
- */
+
});
// push upstream.
repos.forEach(function(r) {