Skip to content
Novus Examples
log333 B

Git Shortlog - Commits Grouped by Author

The author-grouped summary git generates for release notes: a name, a commit count in parentheses, and the subjects indented by six spaces. The counts here are what the .mailmap fixture in this category produces after coalescing aliases, so the two files can be used together.

Preview — first 12 lineslog
Ada Fernsby (2):
      feat(rounding)!: round half to even instead of half up
      feat(ledger): treat a zero delta as a no-op

Miguel Otero (2):
      chore: the quarterly tidy-up
      feat(ledger): add banker's rounding helper

Priya Raman (2):
      fix(format): reject amounts with no digits
      docs: rename README to guide

Specifications

Seed
20260807
Command
git shortlog -6
Authors
3
Commits
6
Subject Indent
6
Mailmap Applied
true
Line Endings
LF
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Parse shortlog output into an author-to-subjects mapping and check the totals.
Expected result
3 authors are found and their counts sum to 6; the six-space subject indent is stripped without merging subjects into the header line.

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 Shortlog - Commits Grouped by Author” is a deterministic Novus Examples fixture for Log parsing, Visual diff / regression, Data engineering. 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-shortlog.log | head
awk '{print $1, $2, $NF}' git-shortlog.log | head

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