projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
953c5f5
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 06:44:00 +0000
(14:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 06:44:00 +0000
(14:44 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
1b0eaaf
..
4c1185f
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-142,7
+142,10
@@
public class GitRepo : Object
{
return !FileUtils.test(this.gitdir + "/.gitlive-disable-autocommit" , FileTest.IS_DIR);
}
-
+ public bool is_autopush ()
+ {
+ return !FileUtils.test(this.gitdir + "/.gitlive-disable-autopush" , FileTest.IS_DIR);
+ }
/**
* add:
* add files to track.