blame: rename coalesce function
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>
Jeff Smith committed
May 24, 2017 at 00:15 UTC
c697136229290d5f5d6e6606916d4e77c90877dc
1 file changed
+2
-2
builtin/blame.c
+2
-2
@@ -384,7 +384,7 @@ static void sanity_check_refcnt(struct blame_scoreboard *);
384
* contiguous lines in the same origin (i.e. <commit, path> pair),
385
* merge them together.
386
*/
387
-static void coalesce(struct blame_scoreboard *sb)
387
+static void blame_coalesce(struct blame_scoreboard *sb)
388
{
389
struct blame_entry *ent, *next;
390
@@ -2885,7 +2885,7 @@ parse_done:
2885
2886
sb.ent = blame_sort(sb.ent, compare_blame_final);
2887
2888
- coalesce(&sb);
2888
+ blame_coalesce(&sb);
2889
2890
if (!(output_option & OUTPUT_PORCELAIN))
2891
find_alignment(&sb, &output_option);