cleanup

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package cleanup This option determines how the supplied commit message should be cleaned up before committing. The <mode> can be strip, whitespace, verbatim, scissors or default.

--cleanup=<mode>

Index

Constants

View Source
const (
	// Strip leading and trailing empty lines, trailing whitespace, commentary and collapse consecutive empty lines.
	Strip = "strip"

	// Whitespace Same as strip except #commentary is not removed.
	Whitespace = "whitespace"

	// Verbatim Do not change the message at all.
	Verbatim = "verbatim"

	// Scissors Same as whitespace, except that everything from (and including) the line "# ------------------------ >8 ------------------------" is truncated if the message is to be edited. "#" can be customized with core.commentChar.
	Scissors = "scissors"

	// Default Same as strip if the message is to be edited. Otherwise whitespace.
	Default = "default"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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