projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b9d60
)
GitBranch.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 15 Nov 2018 01:12:35 +0000
(09:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 15 Nov 2018 01:12:35 +0000
(09:12 +0800)
GitBranch.vala
patch
|
blob
|
history
diff --git
a/GitBranch.vala
b/GitBranch.vala
index
9ad6172
..
ffa9c7e
100644
(file)
--- a/
GitBranch.vala
+++ b/
GitBranch.vala
@@
-36,6
+36,18
@@
public class GitBranch : Object
public string remote = "";
public string remoterev = "";
+ public toString()
+ {
+ return
+ "active: " + (active ? "true" : "false") + "\n" +
+ "is_remote: " + (is_remote ? "true" : "false") + "\n" +
+ "lastrev: " + lastrev + "\n" +
+ "name: " + name + "\n" +
+ "remote: " + remote + "\n" +
+ "remoterev: " + remoterev + "\n";
+ }
+
+
public GitBranch(GitRepo repo)
{
this.repo = repo;