mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
builtin/revert.c: make commit_list_append() static
There is nobody outside that calls into this helper function. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
cf3e2486d6
commit
fb3198c57f
|
@ -664,8 +664,8 @@ static void read_and_refresh_cache(struct replay_opts *opts)
|
|||
* assert(commit_list_count(list) == 2);
|
||||
* return list;
|
||||
*/
|
||||
struct commit_list **commit_list_append(struct commit *commit,
|
||||
struct commit_list **next)
|
||||
static struct commit_list **commit_list_append(struct commit *commit,
|
||||
struct commit_list **next)
|
||||
{
|
||||
struct commit_list *new = xmalloc(sizeof(struct commit_list));
|
||||
new->item = commit;
|
||||
|
|
Loading…
Reference in a new issue