Skip to content
Novus Examples
txt466 B

Commit Message - Valid Conventional Commit With Trailers

A commit message file exactly as `git commit` hands it to a commit-msg hook: a conventional subject, a wrapped body, two trailers, and git's own comment block that the hook must ignore. The subject is 43 characters, comfortably inside commitlint's default 72-character header limit.

Preview — first 16 linestxt
feat(ledger): treat a zero delta as a no-op

Apply returned a wrapped error for zero-value postings, which the
reconciliation job counted as a failure. Return early instead.

Refs: #401
Signed-off-by: Ada Fernsby <ada.fernsby@example.invalid>

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch main
# Changes to be committed:
#	modified:   internal/ledger/apply.go
#

Specifications

Seed
20260807
Repository Name
.git/COMMIT_EDITMSG
Type
feat
Scope
ledger
Subject Length
43
Breaking
false
Trailers
2
Comment Lines
7
Line Endings
LF
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Run a conventional-commit linter over the raw COMMIT_EDITMSG file.
Expected result
The message passes: type 'feat', scope 'ledger', header length 43, two trailers parsed, and the seven '#' lines excluded from every rule.

What is a .txt file?

TXT is a plain-text file containing unformatted character data with no styling or structure beyond line breaks. Its interpretation depends on character encoding, most commonly UTF-8, and on line-ending convention. It is the most universal and portable text container.

How to use this file

Use an example TXT to test encoding detection, line-ending (LF versus CRLF) handling, and any tool that reads or streams raw text input.

How to use this file for testing

“Commit Message - Valid Conventional Commit With Trailers” is a deterministic Novus Examples fixture for Config parsing, Visual diff / regression, Error handling. TOML and INI configuration files with nested sections and typed values — for testing config parsers and loaders.

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.

Point your config loader at the file and assert it reads the documented sections and typed values, including any deliberately-tricky nesting or comments.

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