summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/git_structs.go')
-rw-r--r--pkg/commands/git_structs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git_structs.go b/pkg/commands/git_structs.go
index 6b10b18bb..2b3b3f2db 100644
--- a/pkg/commands/git_structs.go
+++ b/pkg/commands/git_structs.go
@@ -1,7 +1,6 @@
package commands
// File : A staged/unstaged file
-// TODO: decide whether to give all of these the Git prefix
type File struct {
Name string
HasStagedChanges bool
@@ -10,6 +9,7 @@ type File struct {
Deleted bool
HasMergeConflicts bool
DisplayString string
+ Type string // one of 'file', 'directory', and 'other'
}
// Commit : A git commit