summaryrefslogtreecommitdiff
path: root/fsmonitor.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2019-08-25 14:53:26 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-26 11:29:43 -0700
commit82f51af3452bb80e2347bb45dba3e1d2f10d0be7 (patch)
tree4147ae94c32d546e726a6b906b3f21bcc451b45f /fsmonitor.h
parentFirst batch after Git 2.23 (diff)
downloadtgif-82f51af3452bb80e2347bb45dba3e1d2f10d0be7.tar.xz
log-tree: always use return value of strbuf_detach()
strbuf_detach() has been returning a pointer to a buffer even for empty strbufs since 08ad56f3f0 ("strbuf: always return a non-NULL value from strbuf_detach", 2012-10-18). Use that feature in show_log() instead of having it handle empty strbufs specially. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fsmonitor.h')
0 files changed, 0 insertions, 0 deletions