Files
git/builtin
Jeff King ef2ed5013c find_unique_abbrev: use 4-buffer ring
Some code paths want to format multiple abbreviated sha1s in
the same output line. Because we use a single static buffer
for our return value, they have to either break their output
into several calls or allocate their own arrays and use
find_unique_abbrev_r().

Intead, let's mimic sha1_to_hex() and use a ring of several
buffers, so that the return value stays valid through
multiple calls. This shortens some of the callers, and makes
it harder to for them to make a silly mistake.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-10-26 13:30:51 -07:00
..
2016-09-19 13:47:19 -07:00
2016-10-10 14:03:51 -07:00
2016-09-22 13:42:18 -07:00
2016-02-26 13:37:16 -08:00
2016-09-26 16:09:20 -07:00
2016-09-29 15:42:18 -07:00
2016-09-21 15:15:24 -07:00
2016-09-29 15:42:18 -07:00
2016-10-10 14:03:50 -07:00
2016-09-29 20:40:23 -07:00
2016-09-26 16:09:17 -07:00
2015-10-21 15:59:34 -07:00
2016-10-26 13:30:51 -07:00
2016-09-29 15:42:18 -07:00
2016-10-03 13:30:33 -07:00
2016-09-29 15:42:18 -07:00
2016-07-14 15:50:41 -07:00
2016-09-29 15:42:18 -07:00
2016-07-13 11:24:10 -07:00
2015-10-05 13:20:08 -07:00
2016-10-17 13:25:22 -07:00
2016-09-29 20:40:23 -07:00
2016-10-03 12:46:47 -07:00
2016-04-29 12:59:09 -07:00