From 40fa5882a2c73f8c075403b7ec85870f04deda07 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Thu, 4 May 2017 01:45:28 +0200 Subject: worktree: Commit method implementation --- status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'status.go') diff --git a/status.go b/status.go index 2517e50..ef8a500 100644 --- a/status.go +++ b/status.go @@ -11,7 +11,7 @@ type Status map[string]*FileStatus // exists a new FileStatus is added to the map using the path as key. func (s Status) File(path string) *FileStatus { if _, ok := (s)[path]; !ok { - s[path] = &FileStatus{Worktree: Unmodified, Staging: Unmodified} + s[path] = &FileStatus{Worktree: Untracked, Staging: Untracked} } return s[path] -- cgit