Skip to content

Commit 32752e9

Browse files
pcloudsgitster
authored andcommitted
pack-protocol.txt: clarify 'obj-id' in the last ACK after 'done'
It's introduced in 1bd8c8f (git-upload-pack: Support the multi_ack protocol - 2005-10-28) but probably better documented in the commit message of 78affc4 (Add multi_ack_detailed capability to fetch-pack/upload-pack - 2009-10-30). Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a876793 commit 32752e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/technical/pack-protocol.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ during a prior round. This helps to ensure that at least one common
338338
ancestor is found before we give up entirely.
339339

340340
Once the 'done' line is read from the client, the server will either
341-
send a final 'ACK obj-id' or it will send a 'NAK'. The server only sends
341+
send a final 'ACK obj-id' or it will send a 'NAK'. 'obj-id' is the object
342+
name of the last commit determined to be common. The server only sends
342343
ACK after 'done' if there is at least one common base and multi_ack or
343344
multi_ack_detailed is enabled. The server always sends NAK after 'done'
344345
if there is no common base found.

0 commit comments

Comments
 (0)