Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
builtin/revert.c: make commit_list_append() static
author
Junio C Hamano
<gitster@pobox.com>
Sun, 11 Sep 2011 22:29:21 +0000
(15:29 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 11 Sep 2011 22:29:21 +0000
(15:29 -0700)
There is nobody outside that calls into this helper function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/revert.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
cf3e248
)
diff --git
a/builtin/revert.c
b/builtin/revert.c
index 8b452e810e56d2e5d0737aacd02da6cd843d4c60..8409f4c886aeb23b4d0d5d000661eb3e2c278558 100644
(file)
--- a/
builtin/revert.c
+++ b/
builtin/revert.c
@@
-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)
+st
atic st
ruct commit_list **commit_list_append(struct commit *commit,
+
struct commit_list **next)
{
struct commit_list *new = xmalloc(sizeof(struct commit_list));
new->item = commit;