projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NewBranch.bjs
[gitlive]
/
GitMonitor.vala
diff --git
a/GitMonitor.vala
b/GitMonitor.vala
index
41a1447
..
ef2bdca
100644
(file)
--- a/
GitMonitor.vala
+++ b/
GitMonitor.vala
@@
-21,12
+21,13
@@
public class GitMonitorQueue : MonitorNamePathDir {
var vpath_ar = this.dir.substring(GitMonitor.gitlive.length +1).split("/", 0);
var vpath_ar = this.dir.substring(GitMonitor.gitlive.length +1).split("/", 0);
- if (vpath_ar[0].length < 1) {
+ if (vpath_ar
.length < 1 || vpath_ar
[0].length < 1) {
this.gitpath = "";
this.vdir = "";
this.vname = "";
this.gitpath = "";
this.vdir = "";
this.vname = "";
- }
+ return;
+ }
this.gitpath = GitMonitor.gitlive + "/" + vpath_ar[0];
this.gitpath = GitMonitor.gitlive + "/" + vpath_ar[0];