add read_author_script() to libgit
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 31 Oct 2018 10:15:55 +0000 (10:15 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Nov 2018 03:08:06 +0000 (12:08 +0900)
commitbcd33ec25f28514776f3b17af6a5a80b1f329f81
tree7b22600959b92dc882a15e80b7bcf53912cadcc0
parenta75d35138850e3a171243c5fafce4efe75827e06
add read_author_script() to libgit

Add read_author_script() to sequencer.c based on the implementation in
builtin/am.c and update read_am_author_script() to use
read_author_script(). The sequencer code that reads the author script
will be updated in the next commit.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c
sequencer.c
sequencer.h