commitmsg

package
v0.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package commitmsg cleans Git commit messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Text    string
	Subject string
}

Message is a Git-cleaned commit message and its first surviving subject line.

func Clean

func Clean(raw []byte) Message

Clean applies Git's default strip cleanup and returns the recorded message.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL