Skip to content

relizy / stripNameStatus

Function: stripNameStatus() ​

stripNameStatus(body): string

Defined in: src/core/git-refs.ts:173

The text of a commit body without the --name-status list git writes after it: the last block of lines, after a blank line. A line of the text that looks like a file line is kept.

Parameters ​

body ​

string

Returns ​

string

Released under the MIT License.