projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bce35b7
)
gitlive.js
author
alan
<alan@alanfast.akbkhome.com>
Thu, 29 Apr 2010 02:35:12 +0000
(10:35 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Thu, 29 Apr 2010 02:35:12 +0000
(10:35 +0800)
gitlive.js
patch
|
blob
|
history
diff --git
a/gitlive.js
b/gitlive.js
index
574e4c4
..
4bee17a
100644
(file)
--- a/
gitlive.js
+++ b/
gitlive.js
@@
-96,7
+96,9
@@
var monitor = new Monitor({
var sp = Git.run.apply(Git,cmd);
success.push([cmd[1],cmd[2]].join(' '));
- success.push(sp);
+ if (sp.length) {
+ success.push(sp);
+ }
/*
switch (sp.result) {
@@
-115,8
+117,11
@@
var monitor = new Monitor({
});
// push upstream.
repos.forEach(function(r) {
- var sp = Git.run(r , 'push', { all: true } )
- success.push(sp);
+ var sp = Git.run(r , 'push', { all: true } );
+ if (sp.length) {
+ success.push(sp);
+ }
+
});
if (success.length) {