summaryrefslogtreecommitdiff
path: root/src/path.c
diff options
context:
space:
mode:
authorCongyi Wu <congyiwu@gmail.com>2013-01-03 13:26:11 -0500
committerCongyi Wu <congyiwu@gmail.com>2013-01-03 17:19:55 -0500
commit4128f5aa31f4620c2393cc49e6e44e23d07fe58f (patch)
treee01d34b2564939adb9593c1d675dedfa4eb6b305 /src/path.c
parent07871d3adcfdaba7ad5f99f89299258d1dbd92f9 (diff)
downloadlibgit2-4128f5aa31f4620c2393cc49e6e44e23d07fe58f.tar.gz
Fix bug in gen_pktline() for deletes of missing remote refs
* gen_pktline() in smart_protocol.c was skipping refspecs that deleted refs that were not advertised by the server. The new behavior is to send a delete command with an old-id of zero, which matches the behavior of the official git client. * Update test_network_push__delete() in reaction to above fix. * Obviate messy logic that handles missing push_spec rrefs by canonicalizing push_spec. After calculate_work(), loid, roid, and rref, are filled in with exactly what is sent to the server
Diffstat (limited to 'src/path.c')
0 files changed, 0 insertions, 0 deletions