From: Alan Knowles Date: Tue, 30 Oct 2018 07:39:07 +0000 (+0800) Subject: GitBranch.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=66b8908954940fc322f94d3e0790bd04b462cbbe GitBranch.vala --- diff --git a/GitBranch.vala b/GitBranch.vala index 947d53c8..483c9fc3 100644 --- a/GitBranch.vala +++ b/GitBranch.vala @@ -36,9 +36,12 @@ public class GitBranch : Object } else { this.name = parts[0]; } - + return true; + } + function realName() + { + return this.name = "" ? this.remote : this.name; } - } \ No newline at end of file