blame: rename coalesce function
authorJeff Smith <whydoubt@gmail.com>
Wed, 24 May 2017 05:15:15 +0000 (00:15 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 May 2017 06:41:51 +0000 (15:41 +0900)
Functions that will be publicly exposed should have names that better
reflect what they are a part of.

Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c
index 7854770d85a33ba14116f94323250a53ad933fdb..7c493d2b99d0302696447a0c3ae89c129829065d 100644 (file)
@@ -384,7 +384,7 @@ static void sanity_check_refcnt(struct blame_scoreboard *);
  * contiguous lines in the same origin (i.e. <commit, path> pair),
  * merge them together.
  */
-static void coalesce(struct blame_scoreboard *sb)
+static void blame_coalesce(struct blame_scoreboard *sb)
 {
        struct blame_entry *ent, *next;
 
@@ -2885,7 +2885,7 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
 
        sb.ent = blame_sort(sb.ent, compare_blame_final);
 
-       coalesce(&sb);
+       blame_coalesce(&sb);
 
        if (!(output_option & OUTPUT_PORCELAIN))
                find_alignment(&sb, &output_option);