projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GitRepo.vala
[gitlive]
/
GitRepo.vala
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
c037454
..
d0bbe5d
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-257,16
+257,14
@@
public class GitRepo : Object
return;
}
return;
}
- // otherwise see if unmanaged is set to disable it..
- return !FileUtils.test(this.gitdir + "/.gitlive-unmanaged" , FileTest.EXISTS);
-
-
- if (val) {
- FileUtils.set_contents(this.gitdir + "/.gitlive-enable-auto-branch" , "x");
+
+ if (val) {
+ FileUtils.remove(this.gitdir + "/.gitlive-unmanaged" );
} else {
} else {
- // it exists...
- FileUtils.remove(this.gitdir + "/.gitlive-enable-auto-branch" );
+ FileUtils.set_contents(this.gitdir + "/.gitlive-unmanaged" , "x");
+
}
}
+
}
public bool is_autopush ()
}
public bool is_autopush ()