Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
blame: rename coalesce function
author
Jeff Smith
<whydoubt@gmail.com>
Wed, 24 May 2017 05:15:15 +0000
(
00:15
-0500)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
006a074
)
diff --git
a/builtin/blame.c
b/builtin/blame.c
index 7854770d85a33ba14116f94323250a53ad933fdb..7c493d2b99d0302696447a0c3ae89c129829065d 100644
(file)
--- a/
builtin/blame.c
+++ b/
builtin/blame.c
@@
-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);