[PATCH] pull: ff --rebase --autostash works in dirty repo

2017-05-28 Thread Tyler Brazier
pull --rebase --autostash was failing on a fast-forward in a dirty repo since we shortcut to run_merge(), which does not know how to autostash. The shortcut is a performance optimization, and since rebase was rewritten in C, it seemed okay to just bypass the shortcut if we autostash. --- builtin/p

Re: [PATCH] pull: ff --rebase --autostash works in dirty repo

2017-05-28 Thread Junio C Hamano
Tyler Brazier writes: > pull --rebase --autostash was failing on a fast-forward in a dirty repo > since we shortcut to run_merge(), which does not know how to autostash. > The shortcut is a performance optimization, and since rebase was > rewritten in C, it seemed okay to just bypass the shortcut