Commit d184263
gvfs-helper-client: properly update loose cache with fetched OID
Fix parsing of the "loose <odb>" response from `gvfs-helper` and
use the actually parsed OID when updating the loose oid cache.
Previously, an uninitialized "struct oid" was used to update
the cache. This did not cause any corruption, but could cause
extra fetches for objects visited multiple times.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>1 parent 22c79d1 commit d184263
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
0 commit comments