projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a3f138e
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 06:44:10 +0000
(14:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 06:44:10 +0000
(14:44 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
4c1185f
..
71fafbe
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-140,11
+140,11
@@
public class GitRepo : Object
public bool is_autocommit ()
{
public bool is_autocommit ()
{
- return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.IS_
DIR
);
+ return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.IS_
EXIST
);
}
public bool is_autopush ()
{
}
public bool is_autopush ()
{
- return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.IS_
DIR
);
+ return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.IS_
EXIST
);
}
/**
* add:
}
/**
* add: