projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d27295
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 06:43:27 +0000
(14:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 06:43:27 +0000
(14:43 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
29d0919
..
a12a719
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-136,6
+136,13
@@
public class GitRepo : Object
//Repo.superclass.constructor.call(this,cfg);
}
+
+
+ public bool is_autocommit ()
+ {
+ return !FileUtils.test(this.gitdir + "/".gitlive-disable-autocommit , FileTest.IS_DIR);
+ }
+
/**
* add:
* add files to track.