lei-blob(1)

lei-blob1

Display a git blob, reconstructing from mail if necessary

Usage

lei blob [OPTIONS] OID

Overview

Display a git blob. The blob may correspond to a message from the local store, any local external, or blobs associated with a project git repository (if run from a git (working) directory). For blobs which do not exist, it will attempt to recreate the blob using patch emails.

Options

--git-dir=DIR

Specify an additional .git/ directory to scan. This option may be given multiple times.

Default: the output of "git rev-parse --git-dir"

--no-cwd

Do not look in the git repository of the current working directory.

--no-mail

Do not look in mail storage for "OID". This is implied by "--oid-a", "--path-a", and "--path-b".

-A OID-A
--oid-a=OID-A

Provide pre-image object ID as a hint for reconstructing "OID".

-a PATH-A
--path-a=PATH-A

Provide pre-image pathname as a hint for reconstructing "OID".

-b PATH-B
--path-b=PATH-B

Provide post-image pathname as a hint for reconstructing "OID".

-v
--verbose

Provide more feedback on stderr.

The following options are also supported and are described in lei-q(1).

--remote

Remote externals only get queried when the blob needs to be reconstructed from patch emails.

--no-local
--no-external
-I LOCATION, --include=LOCATION
--exclude=LOCATION
--only=LOCATION
--no-import-remote
--torsocks=auto|no|yes
--no-torsocks
--proxy=PROTOCOL://HOST[:PORT]

Contact

Feedback welcome via plain-text mail to <mailto:[email protected]>

The mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12–13
  2. Arch

From lei 2.1.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.