pull: pass --autostash to merge
authorDenton Liu <redacted>
Tue, 7 Apr 2020 14:28:09 +0000 (10:28 -0400)
committerJunio C Hamano <redacted>
Fri, 10 Apr 2020 16:28:02 +0000 (09:28 -0700)
commitd9f15d37f1a545305988f6b2bb40de1fbf0049cf
tree9ba6f8add9d176addd453d87276c37dba0025f6f
parentf8a178580719a93040a49cf25624f1d56d0147f1
pull: pass --autostash to merge

Before, `--autostash` only worked with `git pull --rebase`. However, in
the last patch, merge learned `--autostash` as well so there's no reason
why we should have this restriction anymore. Teach pull to pass
`--autostash` to merge, just like it did for rebase.

Signed-off-by: Denton Liu <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-pull.txt
Documentation/merge-options.txt
builtin/pull.c
t/t5520-pull.sh
git clone https://git.99rst.org/PROJECT