mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
tests/git: Don't silence error, give email
(otherwise git complains about "AUTHOR UNKNOWN HELP HELP HELP I CANNAE DO ANYTHIN'") (i also don't know why git is scottish in my imagination)
This commit is contained in:
parent
ef3516ecdf
commit
d32449fe2e
1 changed files with 3 additions and 3 deletions
|
@ -155,14 +155,14 @@ set -g __fish_git_prompt_status_order stashstate
|
|||
set -g ___fish_git_prompt_char_stashstate ''
|
||||
set -g ___fish_git_prompt_char_cleanstate ''
|
||||
|
||||
git commit -m 'Init' >/dev/null 2>&1
|
||||
git -c user.email=banana@example.com -c user.name=banana commit -m Init >/dev/null
|
||||
echo 'changed' > foo
|
||||
git stash >/dev/null 2>&1
|
||||
git stash >/dev/null
|
||||
fish_git_prompt
|
||||
echo
|
||||
#CHECK: (newbranch|1)
|
||||
|
||||
git stash pop >/dev/null 2>&1
|
||||
git stash pop >/dev/null
|
||||
fish_git_prompt
|
||||
echo
|
||||
#CHECK: (newbranch)
|
||||
|
|
Loading…
Reference in a new issue