Skip to content

Commit 4e48558

Browse files
committed
Make it easier to see what's happening during negotiation with tracing enabled
1 parent bc82f8f commit 4e48558

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gix/src/remote/connection/fetch/receive_pack.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ where
125125
});
126126
}
127127

128-
let negotiate_span = gix_trace::detail!("negotiate");
128+
let negotiate_span = gix_trace::detail!(
129+
"negotiate",
130+
protocol_version = self.ref_map.handshake.server_protocol_version as usize
131+
);
129132
let mut negotiator = repo
130133
.config
131134
.resolved

0 commit comments

Comments
 (0)