We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41c2225 commit 16342efCopy full SHA for 16342ef
status.go
@@ -18,14 +18,18 @@ type StatusRecord struct {
18
19
// StatusMap maps status codes from "git status --porcelain" to human-readable, imperative
20
// verbs.
21
+//
22
+// NOTE: See https://git-scm.com/docs/git-status#_short_format
23
var statusMap = map[rune]string{
24
'M': "Update",
25
'A': "Create",
26
'D': "Delete",
27
// NOTE: With -z, the *new* filename is followed by the old filename, separated by a NUL.
28
'R': "Rename",
29
'C': "Copy",
30
+ 'T': "Change type of",
31
// NOTE: '?' is untracked, ' ' is unmodified
32
+ // NOTE: '!' is ignored, 'U' is unmerged
33
}
34
35
// NoStaged checks if there are no staged changes (added files, changed files, removed files)
0 commit comments