]> git.ipfire.org Git - thirdparty/git.git/commit
sequencer: implement apply_autostash_oid()
authorDenton Liu <liu.denton@gmail.com>
Tue, 7 Apr 2020 14:28:06 +0000 (10:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Apr 2020 16:28:02 +0000 (09:28 -0700)
commit804fe3155761e73c3dcc4e162ddb3ff560f16cd7
treec71f73a82ac0dbbad6983ca7d853e9d35719c351
parent12b6e1367af429628dbaeaa0c7518cacc620d786
sequencer: implement apply_autostash_oid()

Split apply_save_autostash() into apply_autostash_oid() and
apply_save_autostash() where the former operates on an OID string and
the latter reads the OID from a file before passing it into
apply_save_autostash_oid().

This function is required for a future commmit which will rely on being
able to apply an autostash whose OID is stored as a string.

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