projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfc3a4
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 15 Nov 2018 08:45:03 +0000
(16:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 15 Nov 2018 08:45:03 +0000
(16:45 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
2699180
..
bba0b3c
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-247,7
+247,12
@@
public class GitRepo : Object
}
-
+ public void loadStatus()
+ {
+ var r = this.git({ "status" , "--porcelian" });
+ this.has_local_changes = r.length > 0;
+
+ }
public void loadBranches()