summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-03-31 23:00:24 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-04-02 11:00:15 +1100
commit50c169e0a30597c4e1da85f2e1b9b27958dfe5a6 (patch)
tree0a0606d6c9e0884e0cc8e4407d0b527fbb9dc8ce /pkg/commands
parent7364525bf5ae7b6b4ff8f0e4381e1014726219ad (diff)
better colouring for directories for when adding a patch
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/models/commit_file.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/commands/models/commit_file.go b/pkg/commands/models/commit_file.go
index b6028e221..5f68e45b3 100644
--- a/pkg/commands/models/commit_file.go
+++ b/pkg/commands/models/commit_file.go
@@ -2,6 +2,7 @@ package models
// CommitFile : A git commit file
type CommitFile struct {
+ // TODO: rename this to Path
Name string
ChangeStatus string // e.g. 'A' for added or 'M' for modified. This is based on the result from git diff --name-status