mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
completions/git: Silence git's errors
This can spew about not finding the ignore file in some circumstances.
This commit is contained in:
parent
20741007c8
commit
a407af2944
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function __fish_git
|
||||||
end
|
end
|
||||||
# Using 'command git' to avoid interactions for aliases from git to (e.g.) hub
|
# Using 'command git' to avoid interactions for aliases from git to (e.g.) hub
|
||||||
# Using eval to expand ~ and variables specified on the commandline.
|
# Using eval to expand ~ and variables specified on the commandline.
|
||||||
eval command git $global_args \$saved_args
|
eval command git $global_args \$saved_args 2>/dev/null
|
||||||
end
|
end
|
||||||
|
|
||||||
# Print an optspec for argparse to handle git's options that are independent of any subcommand.
|
# Print an optspec for argparse to handle git's options that are independent of any subcommand.
|
||||||
|
|
Loading…
Reference in a new issue