added docs for git-remote-annex special remote contents
Designed with the help of Timothy Sanders and Michael Hanke at Distribits 2024
This commit is contained in:
parent
974455ea33
commit
9b116870a6
1 changed files with 24 additions and 0 deletions
24
doc/internals/git-remote-annex.mdwn
Normal file
24
doc/internals/git-remote-annex.mdwn
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
This adds a GIT-- object type to git-annex.
|
||||||
|
|
||||||
|
GIT--manifest is the manifest
|
||||||
|
|
||||||
|
GIT--hash is a git bundle
|
||||||
|
|
||||||
|
# format of the manifest file
|
||||||
|
|
||||||
|
An ordered list of bundle keys, one per line.
|
||||||
|
|
||||||
|
# fetching
|
||||||
|
|
||||||
|
1. download manifest
|
||||||
|
2. download each listed GIT bundle object that we don't have
|
||||||
|
3. fetch from bundles in timestamp order
|
||||||
|
|
||||||
|
# pushing
|
||||||
|
|
||||||
|
1. create git bundle, hash to calculate GIT bundle object name
|
||||||
|
2. upload GIT bundle object
|
||||||
|
3. download current manifest
|
||||||
|
4. add to manifest with current time, and upload
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue