]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.h
sequencer: extract perform_autostash() from rebase
authorDenton Liu <liu.denton@gmail.com>
Tue, 7 Apr 2020 14:28:03 +0000 (10:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Apr 2020 16:28:02 +0000 (09:28 -0700)
commit0816f1dff8715e80b5fa0b73b48dd36ef9e1e381
tree9dc6ad72d6acdb106630be4c4a9255445a7091d1
parent9bb3dea45d69921578b1729c7dc7b12bfbe6f69e
sequencer: extract perform_autostash() from rebase

Lib-ify the autostash code by extracting perform_autostash() from rebase
into sequencer. In a future commit, this will be used to implement
`--autostash` in other builtins.

This patch is best viewed with `--color-moved`.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c
sequencer.c
sequencer.h