summaryrefslogtreecommitdiff
path: root/src/push.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-01-26 16:59:36 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-01-27 04:44:06 +0100
commitbf522e08114a4dc25815b09db201266a0791381c (patch)
tree15f09e55dd006dc7645e1e552334c446cb27839c /src/push.c
parente1d7f0035e8683423271f1f63b57fd9c663e4fb0 (diff)
downloadlibgit2-bf522e08114a4dc25815b09db201266a0791381c.tar.gz
refspec: move to git_buf for outputting strings
Diffstat (limited to 'src/push.c')
-rw-r--r--src/push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/push.c b/src/push.c
index 0be82f3b2..d39a27182 100644
--- a/src/push.c
+++ b/src/push.c
@@ -214,7 +214,7 @@ int git_push_update_tips(git_push *push)
if (!fetch_spec)
continue;
- if ((error = git_refspec_transform_r(&remote_ref_name, fetch_spec, status->ref)) < 0)
+ if ((error = git_refspec_transform(&remote_ref_name, fetch_spec, status->ref)) < 0)
goto on_error;
/* Find matching push ref spec */