Expand description
A commit, put somewhere it can be imported from.
git as a subprocess and not gix, for now. What is needed here is
rev-parse and a worktree, both of which the binary already does correctly,
and a library earns its place when there is work it does better — reading
many blobs, or naming a commit’s contents without materialising them. There
is none of that yet.
Structs§
- Splice
- Which lines of a file one class occupies.
- Worktree
- A checkout of one commit, removed when it goes out of scope.
Enums§
Constants§
- ALL
- What to ask for when what is wanted is the whole investigation.
Functions§
- beneath
- The commit under each of these that is not one of them.
- commits_
in - The commits to walk, newest first — git’s own order.
- dirty
- What is tracked and changed, as
gitsays it. - forget
- Takes a worktree back out, so the next
worktree addon that commit is not refused by a record git kept of one nobody removed. - forked
- Cuts a branch at
from, replaces one class infile, and commits it. - laid_
out - A checkout of
fromwith one class replaced, and nothing committed. - named
- The full hash a revspec names.
- parent_
of - The commit before this one, if it has one.
- parents_
of - Who each of these commits comes from, in one call.
- read
- One file, as that commit had it.
- told
- What each commit was called and when it was made, in one call.
- went_to
- Cuts a branch at that commit and moves onto it.
- whoami
- Who is saying it. Git’s idea of who you are, or the account’s.