projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c02fc4d
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Mar 2019 06:38:58 +0000
(14:38 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Mar 2019 06:38:58 +0000
(14:38 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
987f495
..
eb6a089
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-297,7
+297,8
@@
public class GitRepo : Object
this.has_local_changes = r.length > 0;
var rs = this.git({ "status" , "-sb" });
-
+
+
this.ahead_or_behind = rs.contains("[ahead") ? "A" : (rs.contains("[behind") ? "B" : "");