File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
gix/src/remote/connection/fetch Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ where
100100 } ) ;
101101 }
102102
103+ let v1_shallow_updates = self . ref_map . handshake . v1_shallow_updates . take ( ) ;
103104 let handshake = & self . ref_map . handshake ;
104105 let protocol_version = handshake. server_protocol_version ;
105106
@@ -253,7 +254,9 @@ where
253254 drop ( graph_repo) ;
254255 drop ( negotiate_span) ;
255256
256- let previous_response = previous_response. expect ( "knowledge of a pack means a response was received" ) ;
257+ let mut previous_response =
258+ previous_response. expect ( "knowledge of a pack means a response was received" ) ;
259+ previous_response. append_v1_shallow_updates ( v1_shallow_updates) ;
257260 if !previous_response. shallow_updates ( ) . is_empty ( ) && shallow_lock. is_none ( ) {
258261 let reject_shallow_remote = repo
259262 . config
You can’t perform that action at this time.
0 commit comments