summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorSlava Karpenko <slavikus@gmail.com>2017-09-11 21:34:41 +0300
committerSlava Karpenko <slavikus@gmail.com>2017-09-11 21:34:41 +0300
commitb34fc3fdf6071365cb5585ed929bd3dc714b67c0 (patch)
treecb0ce041a286b166bc419607c9d9034ab81dd0c2 /include/git2
parent5b947b62970dc2adeb65fd875b1dc02e8f1b3579 (diff)
downloadlibgit2-b34fc3fdf6071365cb5585ed929bd3dc714b67c0.tar.gz
Clear the remote_ref_name buffer in git_push_update_tips()
If fetch_spec was a non-pattern, and it is not the first iteration of push_status vector, then git_refspec_transform would result in the new value appended via git_buf_puts to the previous iteration value. Forcibly clearing the buffer on each iteration to prevent this behavior.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions