diff options
Diffstat (limited to 'src/push.c')
| -rw-r--r-- | src/push.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/push.c b/src/push.c index 8b3d38e70..c6a93ba2f 100644 --- a/src/push.c +++ b/src/push.c @@ -167,9 +167,7 @@ int git_push_add_refspec(git_push *push, const char *refspec) return 0; } -int git_push_update_tips( - git_push *push, - const char *reflog_message) +int git_push_update_tips(git_push *push) { git_buf remote_ref_name = GIT_BUF_INIT; size_t i, j; @@ -213,7 +211,7 @@ int git_push_update_tips( } else { error = git_reference_create(NULL, push->remote->repo, git_buf_cstr(&remote_ref_name), &push_spec->loid, 1, - reflog_message ? reflog_message : "update by push"); + "update by push"); } } |
