Skip to content

relizy / NAME_STATUS_LINE

Variable: NAME_STATUS_LINE ​

const NAME_STATUS_LINE: RegExp

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

A line of the --name-status list getGitDiff appends to the commit bodies: a status letter, a similarity score for renames and copies, then a tab (M\tpath, R100\told\tnew). A line of prose never has this tab ("A new option" is not a file).

Released under the MIT License.