]> git.ipfire.org Git - thirdparty/git.git/commit - combine-diff.c
diff_unique_abbrev: rename to diff_aligned_abbrev
authorJeff King <peff@peff.net>
Thu, 20 Oct 2016 06:19:43 +0000 (02:19 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Oct 2016 20:30:51 +0000 (13:30 -0700)
commitd5e3b01e5bd6b06c06dbd5d1e2257d57e6b1deb7
tree696f1117d12b676c167fbc459d0937f6f997711e
parentef2ed5013c4160284d9de18903bd4f7d0542d810
diff_unique_abbrev: rename to diff_aligned_abbrev

The word "align" describes how the function actually differs
from find_unique_abbrev, and will make it less confusing
when we add more diff-specific abbrevation functions that do
not do this alignment.

Since this is a globally available function, let's also move
its descriptive comment to the header file, where we
typically document function interfaces.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
combine-diff.c
diff.c
diff.h