mirror of
https://github.com/Luzifer/git-recurse-status.git
synced 2024-12-22 12:01:19 +00:00
Change "unknown" to "untracked" to be more in git language
This commit is contained in:
parent
72e4c38dfc
commit
554cda123f
1 changed files with 15 additions and 15 deletions
8
main.go
8
main.go
|
@ -23,7 +23,7 @@ const (
|
|||
STATUS_BEHIND = "behind"
|
||||
STATUS_UPTODATE = "uptodate"
|
||||
|
||||
MOD_UNKNOWN = "unknown"
|
||||
MOD_UNTRACKED = "untracked"
|
||||
MOD_ADDED = "added"
|
||||
MOD_MODIFIED = "modified"
|
||||
MOD_REMOVED = "removed"
|
||||
|
@ -44,7 +44,7 @@ var (
|
|||
}{}
|
||||
|
||||
porcelainFlags = map[string]string{
|
||||
"??": MOD_UNKNOWN,
|
||||
"??": MOD_UNTRACKED,
|
||||
"A ": MOD_ADDED,
|
||||
"M ": MOD_ADDED,
|
||||
" M": MOD_MODIFIED,
|
||||
|
@ -57,7 +57,7 @@ var (
|
|||
}
|
||||
|
||||
flagSigns = map[string]string{
|
||||
MOD_UNKNOWN: "U",
|
||||
MOD_UNTRACKED: "U",
|
||||
MOD_ADDED: "A",
|
||||
MOD_MODIFIED: "M",
|
||||
MOD_REMOVED: "R",
|
||||
|
@ -73,7 +73,7 @@ var (
|
|||
}
|
||||
|
||||
collectionStatus = []string{STATUS_AHEAD, STATUS_BEHIND, STATUS_DIVERGED, STATUS_UPTODATE}
|
||||
collectionModifications = []string{MOD_ADDED, MOD_UNKNOWN, MOD_REMOVED, MOD_STASHED, MOD_DELETED, MOD_MODIFIED, MOD_CHANGED}
|
||||
collectionModifications = []string{MOD_ADDED, MOD_UNTRACKED, MOD_REMOVED, MOD_STASHED, MOD_DELETED, MOD_MODIFIED, MOD_CHANGED}
|
||||
|
||||
traverseResults = make(chan string, 10)
|
||||
|
||||
|
|
Loading…
Reference in a new issue