diff options
author | René Scharfe <l.s.r@web.de> | 2018-02-22 20:29:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-22 12:57:38 -0800 |
commit | 878056005e94f5fea00c9ff8999f30a99bf10cae (patch) | |
tree | 266ba217cd6ad2694bf71dd2c30ccb178b7a98f6 /commit.c | |
parent | 570676e011d9c8057744e03067553c4802e5adb4 (diff) | |
download | git-878056005e94f5fea00c9ff8999f30a99bf10cae.tar.gz |
sequencer: factor out strbuf_read_file_or_whine()rs/strbuf-read-file-or-whine
Reduce code duplication by factoring out a function that reads an entire
file into a strbuf, or reports errors on stderr if something goes wrong.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions