]> git.proxmox.com Git - libgit2.git/commit - src/libgit2/remote.c
remote: tighten up reference renaming
authorCarlos Martín Nieto <cmn@dwim.me>
Thu, 5 Jun 2014 23:09:49 +0000 (01:09 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Thu, 5 Jun 2014 23:09:49 +0000 (01:09 +0200)
commita52ab4b82a06f3a4e6065ecfa1b27917b4ba216b
tree525b35ea1aac298b5c94f03758ef0c5e8ab7cd94
parentfe3b9d07317732830a3416187e2946979caafc92
remote: tighten up reference renaming

Tighten up which references we consider for renaming so we don't try to
rename unrelated ones and end up with unexplained references.

If there is a reference on the target namespace, git overwrites it, so
let's do the same.
src/remote.c