mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 04:02:46 +08:00
Don't run git merge quietly
This can and will mess up git rebases and force pushes.
This commit is contained in:
parent
d40a07436a
commit
0b63c1f46d
|
@ -25,11 +25,6 @@ function fish_right_prompt
|
|||
|
||||
git name-rev --name-only HEAD
|
||||
|
||||
# Merging state
|
||||
git merge -q 2>/dev/null
|
||||
or printf ':'(set_color red)'merge'
|
||||
printf ' '
|
||||
|
||||
# Symbols
|
||||
if set -l count (command git rev-list --count --left-right $upstream...HEAD 2>/dev/null)
|
||||
echo $count | read -l ahead behind
|
||||
|
|
Loading…
Reference in New Issue
Block a user