diff options
author | René Scharfe <l.s.r@web.de> | 2018-01-15 18:10:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-16 13:21:51 -0800 |
commit | fbac558a9bde48fa23b9c536357ab17c71b4bd22 (patch) | |
tree | 86b34bc6a0ca43639df1f22eb76ec2e8267833c1 /po/sv.po | |
parent | RelNotes: minor typofix (diff) | |
download | tgif-fbac558a9bde48fa23b9c536357ab17c71b4bd22.tar.xz |
describe: use strbuf_add_unique_abbrev() for adding short hashes
Call strbuf_add_unique_abbrev() to add an abbreviated hash to a strbuf
instead of taking a detour through find_unique_abbrev() and its static
buffer. This is shorter and a bit more efficient.
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 'po/sv.po')
0 files changed, 0 insertions, 0 deletions