summaryrefslogtreecommitdiff
path: root/tool/vcs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 66d276450e..d7559a7406 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -208,8 +208,10 @@ class VCS
[last, changed, modified]
end
+ Branch = Struct.new(:to_str)
+
def branch(name)
- name
+ Branch.new(name)
end
alias tag branch