diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-05-04 01:45:28 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-05-04 01:45:28 +0200 |
commit | 40fa5882a2c73f8c075403b7ec85870f04deda07 (patch) | |
tree | 97a7708e159721f92d643ceb802ee18143d78191 /status.go | |
parent | ff18ce3751ad80cfd0297845872ba1d796c36ca5 (diff) | |
download | go-git-40fa5882a2c73f8c075403b7ec85870f04deda07.tar.gz |
worktree: Commit method implementation
Diffstat (limited to 'status.go')
-rw-r--r-- | status.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] |