summaryrefslogtreecommitdiff
path: root/src/push.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-01-15 15:31:23 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-03 14:40:50 +0100
commit412a3808889de65d8f94f22502aba10b9afbf755 (patch)
tree616ec7fcd771da85ce4c44c4a4a07fa5c5c281b8 /src/push.c
parent6bfb990dc74c3749b356f82f7c9744b43fe90ea9 (diff)
downloadlibgit2-412a3808889de65d8f94f22502aba10b9afbf755.tar.gz
push: remove reflog message override
We always use "update by push".
Diffstat (limited to 'src/push.c')
-rw-r--r--src/push.c6
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");
}
}