File tree 1 file changed +4
-1
lines changed
gix/src/remote/connection/fetch
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ where
100
100
} ) ;
101
101
}
102
102
103
+ let v1_shallow_updates = self . ref_map . handshake . v1_shallow_updates . take ( ) ;
103
104
let handshake = & self . ref_map . handshake ;
104
105
let protocol_version = handshake. server_protocol_version ;
105
106
@@ -253,7 +254,9 @@ where
253
254
drop ( graph_repo) ;
254
255
drop ( negotiate_span) ;
255
256
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) ;
257
260
if !previous_response. shallow_updates ( ) . is_empty ( ) && shallow_lock. is_none ( ) {
258
261
let reject_shallow_remote = repo
259
262
. config
You can’t perform that action at this time.
0 commit comments