diff options
author | René Scharfe <l.s.r@web.de> | 2017-10-01 16:44:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-02 13:13:41 +0900 |
commit | fa2bb34477120f18d0834a545ac777e6295650d2 (patch) | |
tree | 0530f5a19e16c26bb648e5b65ffe059124e0a8cf /diffcore-order.c | |
parent | The eleventh batch for 2.15 (diff) | |
download | tgif-fa2bb34477120f18d0834a545ac777e6295650d2.tar.xz |
path: use strbuf_add_real_path()
Avoid a string copy to a static buffer by using strbuf_add_real_path()
instead of combining strbuf_addstr() and real_path().
Patch generated by Coccinelle and contrib/coccinelle/strbuf.cocci.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-order.c')
0 files changed, 0 insertions, 0 deletions