]> source.dussan.org Git - jgit.git/commit
Always send refs' objects despite "filter" in pack 48/126048/2
authorJonathan Tan <jonathantanmy@google.com>
Thu, 12 Jul 2018 17:58:28 +0000 (10:58 -0700)
committerJonathan Nieder <jrn@google.com>
Sat, 21 Jul 2018 00:09:05 +0000 (17:09 -0700)
commit32798dcfdb00662a640f0ff2915766591d21e287
tree2b6df8a68f59f75d11d67c95ff8daf6d05740e85
parentfb9031c9566308794f888695cafd108f19d835be
Always send refs' objects despite "filter" in pack

In a0c9016abd ("upload-pack: send refs' objects despite "filter"",
2018-07-09), Git updated the "filter" option in the fetch-pack
upload-pack protocol to not filter objects explicitly specified in
"want" lines, even if they match the criterion of the filter. Update
JGit to match that behavior.

Change-Id: Ia4d74326edb89e61062e397e05483298c50f9232
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java