-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shells/fish: cherry-pick upstream fix for SVN performance
Upstream bug #6681 causes fish to run _very_ slowly inside of large Subversion repositories. The bug will be fixed in release 3.1.1. But it's worthwhile to cherry-pick the fix since all FreeBSD developers use large Subversion repositories. fish-shell/fish-shell#6681
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 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
12 changes: 12 additions & 0 deletions
12
shells/fish/files/patch-share_functions_fish__vcs__prompt.fish
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- share/functions/fish_vcs_prompt.fish.orig 2020-04-18 20:32:19 UTC | ||
+++ share/functions/fish_vcs_prompt.fish | ||
@@ -3,5 +3,8 @@ function fish_vcs_prompt --description "Print the prom | ||
# This is so we don't try svn if git already worked. | ||
fish_git_prompt | ||
or fish_hg_prompt | ||
- or fish_svn_prompt | ||
+ # The svn prompt is disabled by default because it's quite slow on common svn repositories. | ||
+ # To enable it uncomment it. | ||
+ # You can also only use it in specific directories by checking $PWD. | ||
+ # or fish_svn_prompt | ||
end |