]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.h
sequencer: make read_oneliner() extern
authorDenton Liu <liu.denton@gmail.com>
Tue, 7 Apr 2020 14:27:54 +0000 (10:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Apr 2020 23:57:30 +0000 (16:57 -0700)
commitc20de8bec6ba759c5e17ad8b8fd7105e8228e313
tree440b9ac9c57f47879c8555fae812279309375625
parentbfa50c2c7f0cb806af6d272a84c16f114e15ceee
sequencer: make read_oneliner() extern

The function read_oneliner() is a generally useful util function.
Instead of hiding it as a static function within sequencer.c, extern it
so that it can be reused by others.

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>
sequencer.c
sequencer.h