Skip to content
Snippets Groups Projects
Commit 556afab7 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Removed ) from getBranchName

parent 8a363a10
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ end
def dbg(msg); pp msg if @debug; end
# return name of current branch
def getBranchName; `git branch`.split("\n").grep(/^\*/)[0].split[-1]; end
def getBranchName; `git branch`.split("\n").grep(/^\*/)[0].split[-1].tr(')',''); end
# wrapper for calling commands locally
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment