projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89ccf67
)
GitMonitor.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 14 Aug 2017 03:07:47 +0000
(11:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 14 Aug 2017 03:07:47 +0000
(11:07 +0800)
GitMonitor.vala
patch
|
blob
|
history
diff --git
a/GitMonitor.vala
b/GitMonitor.vala
index
22c99f7
..
bdef535
100644
(file)
--- a/
GitMonitor.vala
+++ b/
GitMonitor.vala
@@
-237,7
+237,7
@@
public class GitMonitor : Monitor
notification.set_timeout(5);
notification.show();
} catch(Error e) {
notification.set_timeout(5);
notification.show();
} catch(Error e) {
- print(e.message);
+ print(
"Error %s\n",
e.message);
}
return false; // do not keep doing this..
}
return false; // do not keep doing this..
@@
-480,6
+480,7
@@
public class GitMonitor : Monitor
repo.pull();
} catch(Error e) {
failure += e.message;
repo.pull();
} catch(Error e) {
failure += e.message;
+ print("Pull failed:\n");
}
}
@@
-488,11
+489,13
@@
public class GitMonitor : Monitor
repo.add(add_files_f);
} catch(Error e) {
failure += e.message;
repo.add(add_files_f);
} catch(Error e) {
failure += e.message;
+ print("Add failed:\n");
}
try {
repo.remove(remove_files_f);
} catch(Error e) {
failure += e.message;
}
try {
repo.remove(remove_files_f);
} catch(Error e) {
failure += e.message;
+ print("Remove failed:\n");
}
this.paused = false;
}
this.paused = false;
@@
-507,10
+510,12
@@
public class GitMonitor : Monitor
} catch(Error e) {
failure += e.message;
} catch(Error e) {
failure += e.message;
+ print("Push failed:\n");
}
}
}
}
+
// finally merge all the commit messages.
try {
// finally merge all the commit messages.
try {