aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-04-07 10:27:55 -0400
committerJunio C Hamano <gitster@pobox.com>2020-04-10 09:27:24 -0700
commitefcf6cf0492c4a78d968c6246698d9aafae61578 (patch)
treeeeb8ff39b7055e115b19bdd890ac0f6d3dcc53a6 /builtin/commit.c
parentsequencer: make read_oneliner() extern (diff)
downloadgit-efcf6cf0492c4a78d968c6246698d9aafae61578.tar.gz
git-efcf6cf0492c4a78d968c6246698d9aafae61578.zip
rebase: use read_oneliner()
Since in sequencer.c, read_one() basically duplicates the functionality of read_oneliner(), reduce code duplication by replacing read_one() with read_oneliner(). This was done with the following Coccinelle script @@ expression a, b; @@ - read_one(a, b) + !read_oneliner(b, a, READ_ONELINER_WARN_MISSING) and long lines were manually broken up. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions