diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-11-15 10:21:21 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-11-25 15:37:30 +0800 |
commit | c78e56c50941e71055d3d1d3c4349f349d817993 (patch) | |
tree | 4a7c430c83c63839c36f68ec4e202d2b7e637149 /share/functions/__fish_git_prompt.fish | |
parent | 190cac07a3ff7cd2c65ac24b600808e7c1674412 (diff) |
Update various strings for translation, avoid _ for non-translations
Use __ instead of _ as a placeholder for ignored variables in `read`
statements.
Diffstat (limited to 'share/functions/__fish_git_prompt.fish')
-rw-r--r-- | share/functions/__fish_git_prompt.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_git_prompt.fish b/share/functions/__fish_git_prompt.fish index bc08871c..0117894f 100644 --- a/share/functions/__fish_git_prompt.fish +++ b/share/functions/__fish_git_prompt.fish @@ -241,7 +241,7 @@ function __fish_git_prompt_show_upstream --description "Helper function for __fi # (git-svn uses essentially the same procedure internally) set -l svn_upstream (git log --first-parent -1 --grep="^git-svn-id: \($svn_url_pattern\)" ^/dev/null) if test (count $svn_upstream) -ne 0 - echo $svn_upstream[-1] | read -l _ svn_upstream _ + echo $svn_upstream[-1] | read -l __ svn_upstream __ set svn_upstream (echo $svn_upstream | sed 's/@.*//') set -l cur_prefix for i in (seq (count $svn_remote)) |