The upload-file command allows a remote to request specific files by sha1.
Signed-off-by: Mark Thomas
---
.gitignore| 1 +
Makefile | 2 ++
daemon.c | 6 +
upload-file.c | 87 +++
4 files changed, 96 insertions
their trees or blobs in the repository. Instead, they will be
fetched on-demand from the remote.
Signed-off-by: Mark Thomas
---
builtin/clone.c | 7 ++-
cache-tree.c| 2 +-
fetch-pack.c| 3 +++
fetch-pack.h| 1 +
shallow.c | 2 +-
transport.c | 3 +++
transport.h
If an object (tree, blob, ...) is not found either in the
packs or loose, check if it is available on-demand from
the remote.
Signed-off-by: Mark Thomas
---
Makefile| 1 +
cache.h | 3 +-
on_demand.c | 157
on_demand.h
r moving them to the LRU cache.
- Add configurable remote to fetch from.
- Documentation.
- Much more.
Please let me know what you think, and if an experienced git developer
would like to help out with finishing this, that would be even better.
Mark Thomas (4):
upload-file: Add upload-f
Signed-off-by: Mark Thomas
---
builtin/pack-objects.c | 26 --
list-objects.c | 12 +++-
list-objects.h | 13 -
object.h | 1 +
on_demand.c| 26 ++
on_demand.h| 4
5 matches
Mail list logo