Expand description
git rev-list --objects --do-walk --stdin wrapper.
Walks history reachable from include refs but not from exclude
refs, emitting every commit + tree + blob OID along the way (with the
blob’s path appended for blobs and trees that have a name in the
parent tree). This is the entry point upstream uses to find every
object that could be an LFS pointer; we then narrow with
cat-file --batch-check and read the survivors with cat-file --batch.
Output format from git rev-list --objects is one object per line,
either <oid> (commit) or <oid> <name> (tree/blob with a path).
Structs§
- RevList
Entry - One entry yielded by
rev_list.
Functions§
- rev_
list - Run
git rev-list --objects --do-walk --stdin --againstcwdwith the given include/exclude refs and collect every emitted object. - rev_
list_ with_ args rev_listwith extra command-line args spliced before--stdin.