Skip to content
Novus Examples
log190 B

Git Status - Porcelain v1 With Every Status Pair

Porcelain v1 output covering staged-only, worktree-only, added, renamed, deleted, unmerged, untracked and ignored entries. The two status characters are positional and a space is meaningful, so trimming the line before parsing turns ' M' (modified but unstaged) into 'M' (staged).

Preview — first 9 lineslog
 M internal/ledger/apply.go
M  internal/ledger/rounding.go
A  web/schema
R  docs/README.md -> docs/guide.md
 D scripts/legacy-import.sh
UU config/service.yaml
?? notes.txt
!! dist/bundle.js

Specifications

Seed
20260807
Command
git status --porcelain --ignored
Entries
8
Columns
index, worktree
Rename Arrow
->
Unmerged Code
UU
Line Endings
LF
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Classify every entry in porcelain v1 output by its index and worktree status.
Expected result
Eight entries are classified; ' M' and 'M ' are distinguished, 'UU' is reported as unmerged rather than as two modifications, and the rename row yields both paths.

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 Status - Porcelain v1 With Every Status Pair” is a deterministic Novus Examples fixture for Log parsing, Visual diff / regression, Code parsing. Access logs and JSON-lines application logs — for testing log parsers, tailers, and ingestion pipelines.

Documented properties for this file: seed 20260807 · 8 entries · 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-status-porcelain-v1.log | head
awk '{print $1, $2, $NF}' git-status-porcelain-v1.log | head

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