Commit be563b7
sha1-file: add function to update existing loose object cache
Create a function to add a new object to the loose object cache
after the existing odb/xx/ directory was scanned.
This will be used in a later commit to keep the loose object
cache fresh after dynamically fetching an individual object
and without requiring the odb/xx/ directory to be rescanned.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>1 parent b5cdcff commit be563b7Copy full SHA for be563b7
File tree
Expand file treeCollapse file tree
2 files changed
+15
-0
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
2 files changed
+15
-0
lines changedOpen diff view settings
Collapse file
+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1846 | 1846 | |
1847 | 1847 | |
1848 | 1848 | |
| 1849 | + |
| 1850 | + |
| 1851 | + |
| 1852 | + |
| 1853 | + |
| 1854 | + |
| 1855 | + |
1849 | 1856 | |
1850 | 1857 | |
1851 | 1858 | |
|
Collapse file
+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
36 | 44 | |
37 | 45 | |
38 | 46 | |
|
0 commit comments