Skip to content
Novus Examples
log958 B

Git Blame - Porcelain Format With Repeated Commit Headers

The stable machine format of git blame: a full header block the first time a commit appears and a bare `<sha> <old> <new>` line every time after, with each source line following on a tab-prefixed line. A parser that expects the header on every group loses the author of every line after the first.

Preview — first 32 lineslog
437e21e3ec5b252950b50e724b9522198aa02751 1 1 3
author Ada Fernsby
author-mail <ada.fernsby@example.invalid>
author-time 1772442843
author-tz +0000
committer Ada Fernsby
committer-mail <ada.fernsby@example.invalid>
committer-time 1772442843
committer-tz +0000
summary feat(ledger): treat a zero delta as a no-op
filename internal/ledger/apply.go
	package ledger
437e21e3ec5b252950b50e724b9522198aa02751 2 2
	
437e21e3ec5b252950b50e724b9522198aa02751 3 3
	import (
b06c6299e8931725dd967c0724b45431be10adeb 4 4 2
author Ada Fernsby
author-mail <ada.fernsby@example.invalid>
author-time 1773394862
author-tz +0000
committer Ada Fernsby
committer-mail <ada.fernsby@example.invalid>
committer-time 1773394862
committer-tz +0000
summary feat(rounding)!: round half to even instead of half up
previous 437e21e3ec5b252950b50e724b9522198aa02751 internal/ledger/apply.go
filename internal/ledger/apply.go
		"errors"
b06c6299e8931725dd967c0724b45431be10adeb 5 5
		"fmt"

Specifications

Seed
20260807
Command
git blame --porcelain internal/ledger/apply.go
Lines
5
Commits
2
Header Repeats Once Per Commit
true
Content Lines Prefixed With Tab
true
Line Endings
LF
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Attribute each source line to an author from porcelain blame output.
Expected result
All five lines are attributed; the second and third lines inherit the header from the first occurrence of their commit, and the tab prefix is stripped from content lines including the empty line 2.

What is a .log file?

LOG files are plain-text records of events emitted by software, typically one entry per line with a timestamp, severity, and message. There is no single standard, so formats range from unstructured text to structured JSON lines. They are central to debugging, monitoring, and auditing.

How to use this file

Use an example LOG file to test log parsers, timestamp and severity extraction, line-oriented streaming, and ingestion into monitoring or analysis pipelines.

How to use this file for testing

“Git Blame - Porcelain Format With Repeated Commit Headers” is a deterministic Novus Examples fixture for Log parsing, Visual diff / regression, Metadata testing. Access logs and JSON-lines application logs — for testing log parsers, tailers, and ingestion pipelines.

Documented properties for this file: seed 20260807 · UTF-8 · LF. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Diff and patch fixtures name their target paths and the exact edge case they exercise — rename, mode change, binary hunk, CRLF↔LF, or missing trailing newline. Apply or render them against the documented before-state; every author, path, and hash is fictional.

Code examples

grep -i error git-blame-porcelain.log | head
awk '{print $1, $2, $NF}' git-blame-porcelain.log | head

Generated by generation/version_control.py. Free for any use, no attribution required — license.