[PATCH] reflog-walk: mark a file-local symbol as static
- From
Ramsay Jones <ramsay@ramsayjones.plus.com>
- Date
- Jul 6, 2017, 16:00 UTC
- Message-ID
- <fc3e4da5-a432-3038-eb97-42a4f2afe766@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> ---
Hi Jeff,
When you re-roll your 'jk/reflog-walk' branch, could you please squash this into the relevant patch (commit beafb2c629, "reflog-walk: stop using fake parents", 05-07-2017).
Thanks!
ATB, Ramsay Jones
reflog-walk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/reflog-walk.c b/reflog-walk.c index a7644d944..8effe722b 100644 --- a/reflog-walk.c +++ b/reflog-walk.c @@ -284,7 +284,7 @@ int reflog_walk_empty(struct reflog_walk_info *info) return !info || !info->nr; } -struct commit *next_entry_in_log(struct commit_reflog *log) +static struct commit *next_entry_in_log(struct commit_reflog *log) { while (log->recno >= 0) { struct reflog_info *entry = &log->reflogs->items[log->recno--];
-- 2.13.0