From 66b8908954940fc322f94d3e0790bd04b462cbbe Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 15:39:07 +0800 Subject: [PATCH] GitBranch.vala --- GitBranch.vala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.2