Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
257e9b0
commit b1281c3
Showing
1 changed file
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters