use strbuf_add_unique_abbrev() for adding short hashes
authorRené Scharfe <l.s.r@web.de>
Sat, 6 Aug 2016 15:41:01 +0000 (17:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Aug 2016 17:33:57 +0000 (10:33 -0700)
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 <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found