From: René Scharfe Date: Sat, 6 Aug 2016 15:41:01 +0000 (+0200) Subject: use strbuf_add_unique_abbrev() for adding short hashes X-Git-Tag: v2.9.4~7^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1eb47f167d65d1d305b9c196a1bb40eb96117cb1?hp=1eb47f167d65d1d305b9c196a1bb40eb96117cb1 use strbuf_add_unique_abbrev() for adding short hashes Call strbuf_add_unique_abbrev() to add abbreviated hashes to strbufs instead of taking detours through find_unique_abbrev() and its static buffer. This is shorter and a bit more efficient. Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano ---