Skip to content

Commit fb3198c

Browse files
committed
builtin/revert.c: make commit_list_append() static
There is nobody outside that calls into this helper function. Signed-off-by: Junio C Hamano <[email protected]>
1 parent cf3e248 commit fb3198c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/revert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,8 @@ static void read_and_refresh_cache(struct replay_opts *opts)
664664
* assert(commit_list_count(list) == 2);
665665
* return list;
666666
*/
667-
struct commit_list **commit_list_append(struct commit *commit,
668-
struct commit_list **next)
667+
static struct commit_list **commit_list_append(struct commit *commit,
668+
struct commit_list **next)
669669
{
670670
struct commit_list *new = xmalloc(sizeof(struct commit_list));
671671
new->item = commit;

0 commit comments

Comments
 (0)