aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.cpp
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2012-07-13 18:56:37 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-13 21:46:57 -0700
commitb1281c3fb904c12b1710045c8084bc521e80d7f9 (patch)
treef01195ed3266ca45cf98f191c21e777320342c83 /parser.cpp
parent257e9b04fe04603178e5ee9260072962af53b447 (diff)
Update __fish_git_prompt.fish to handle git-svn better
Git-svn remotes can have a prefix for their remotes. If I set a prefix of 'svn/' then my remote trunk branch is called svn/trunk. Update the script to use the svn-remote.*.fetch key to figure out how the 'trunk' branch is mapped into the remotes namespace and apply this to the current branch. This assumes branches are mapped into the same namespace, which is likely. It also doesn't work for tags, but neither did the old code.
Diffstat (limited to 'parser.cpp')
0 files changed, 0 insertions, 0 deletions