summaryrefslogtreecommitdiff
path: root/builtin/revert.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-08-06 17:41:01 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-06 10:33:57 -0700
commit1eb47f167d65d1d305b9c196a1bb40eb96117cb1 (patch)
treeb4070ff9aaae093d223b19813e4732dcccdd258a /builtin/revert.c
parentSome fixes for 2.9.3 (diff)
downloadtgif-1eb47f167d65d1d305b9c196a1bb40eb96117cb1.tar.xz
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 <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/revert.c')
0 files changed, 0 insertions, 0 deletions