bup-valida...bject-links(1)
β¨ NAME β¨
bup-validate-object-links β bestie, this is the one that scans your whole repository looking for broken object links π
πΈ SYNOPSIS πΈ
bup validate-object-links
π¦ DESCRIPTION π¦
okay so here's the vibe: bup validate-object-links goes through all the objects in your repository and calls out any reference that's pointing at an object that straight up does not exist in the repo. like, a tree or a commit says "hey go look at this object" and the object is justβ¦ not there. ghosted. π
So it's checking references from a tree or a commit to an object, and reporting the ones that are missing.
Now for the lowkey important caveats, and bestie I need you to actually read these:
- Right now it does not scan "loose objects" (those that aren't in packfiles), and it also doesn't notice them when it's checking for existence.
- It cannot handle tag objects. Nope. Not happening. π
- Little note though: bup itself doesn't create tags or loose objects β but git absolutely may, so don't come for bup about it.
- The existence check only consults the repository indexes. It does not try to actually read the object. So if your index is incorrect, the check can be misled by it. iykyk. be aware. β οΈ
Whenever it finds a broken link (i.e. a missing reference), it prints an ASCII-encoded line to standard output that looks exactly like this:
no MISSING_HASH for PARENT_HASH
periodt. that's the whole report format. π
π EXIT STATUS π
1β if any broken links are found π (she found something)0β if none are found β¨ (clean, flawless, main character energy)- some other positive integer β for other failures π
π SEE ALSO π
π BUP π
Part of the bup(1) suite. π«Ά
π AUTHORS π
Rob Browning rlb@defaultvalue.org
and that's the whole page bestie, no cap β this little icon comes to you from Bup 0.34, dated 2026-09-01, and it's giving bup-validate-object-links(1) in the General Commands Manual. slay π
β¨πΈ
π¦ where this page comes from
- fedora 44: bup 0.34-1.fc44 Β· LGPL-2.0-only
- nixpkgs unstable: bup 0.34
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms