summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/META-INF
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2018-08-29 16:36:42 -0700
committerIvan Frade <ifrade@google.com>2018-08-30 13:09:50 -0700
commite665e3fcd4fdb5097332c0e048c80ccc0dd05caf (patch)
tree611915595d14f19ae72ea480f69e539be6748c5c /org.eclipse.jgit.test/META-INF
parentaa5007c576773cff862bfc32d8a6be10ec803e07 (diff)
downloadjgit-e665e3fcd4fdb5097332c0e048c80ccc0dd05caf.tar.gz
jgit-e665e3fcd4fdb5097332c0e048c80ccc0dd05caf.zip
UploadPack: avoid conflating shallow commit lists in protocol v2
At the moment there are two copies of the client shallow commit list: one in the request and another in the clientShallowCommits member of the class. The verifyShallowCommit function was removing missing object ids from the member but not the request list, and code afterwards was using the request's version. In practice, this didn't cause trouble because these shallow commits are used as endpoint for a walk, and missing ids are just never reached. Change-Id: I70a8f1fd46de135da09f16e5d954693c8438ffcb Signed-off-by: Ivan Frade <ifrade@google.com>
Diffstat (limited to 'org.eclipse.jgit.test/META-INF')
0 files changed, 0 insertions, 0 deletions