diff options
| author | Congyi Wu <congyiwu@gmail.com> | 2013-01-03 13:26:11 -0500 |
|---|---|---|
| committer | Congyi Wu <congyiwu@gmail.com> | 2013-01-03 17:19:55 -0500 |
| commit | 4128f5aa31f4620c2393cc49e6e44e23d07fe58f (patch) | |
| tree | e01d34b2564939adb9593c1d675dedfa4eb6b305 /src/netops.c | |
| parent | 07871d3adcfdaba7ad5f99f89299258d1dbd92f9 (diff) | |
| download | libgit2-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/netops.c')
0 files changed, 0 insertions, 0 deletions
