Skip to content

Commit c697136

Browse files
whydoubtgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 006a074 commit c697136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/blame.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ static void sanity_check_refcnt(struct blame_scoreboard *);
384384
* contiguous lines in the same origin (i.e. <commit, path> pair),
385385
* merge them together.
386386
*/
387-
static void coalesce(struct blame_scoreboard *sb)
387+
static void blame_coalesce(struct blame_scoreboard *sb)
388388
{
389389
struct blame_entry *ent, *next;
390390

@@ -2885,7 +2885,7 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
28852885

28862886
sb.ent = blame_sort(sb.ent, compare_blame_final);
28872887

2888-
coalesce(&sb);
2888+
blame_coalesce(&sb);
28892889

28902890
if (!(output_option & OUTPUT_PORCELAIN))
28912891
find_alignment(&sb, &output_option);

0 commit comments

Comments
 (0)