aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/updreq_test.go
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2019-01-30 18:50:35 +0100
committerJavi Fontan <jfontan@gmail.com>2019-01-30 18:58:38 +0100
commit51b01ef90c03c2f83126eb339723d7b7e7a6a245 (patch)
tree5af72223dcc5ff071016e16cba0967f3fa1d0293 /plumbing/protocol/packp/updreq_test.go
parent434611b74cb54538088c6aeed4ed27d3044064fa (diff)
downloadgo-git-51b01ef90c03c2f83126eb339723d7b7e7a6a245.tar.gz
storage/filesystem: check file object before using cache
If the cache is shared between several repositories getFromUnpacked can erroneously return an object from other repository. This decreases performance a little bit as there's an extra fs operation when the object is in the cache but is correct when the cache is shared. Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'plumbing/protocol/packp/updreq_test.go')
0 files changed, 0 insertions, 0 deletions