[PATCH 07/29] blame: rename coalesce function
- From
Jeff Smith <whydoubt@gmail.com>
- Date
- May 24, 2017, 05:15 UTC
- Message-ID
- <20170524051537.29978-8-whydoubt@gmail.com>
- In-Reply-To
- <20170524051537.29978-1-whydoubt@gmail.com>
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> --- builtin/blame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/blame.c b/builtin/blame.c index 7854770..7c493d2 100644 --- 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);
-- 2.9.3