diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-05-05 11:34:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 11:34:50 +0200 |
commit | ced875aec7bef9113e1c37b1b811a59e17dbd138 (patch) | |
tree | 3cf652b8cfa94e011d4d7b5addfd13945870cda8 /status.go | |
parent | e80cdbabb92a1ec35ffad536f52d3ff04b548fd1 (diff) | |
parent | 3713157d189a109bdccdb055200defb17297b6de (diff) | |
download | go-git-ced875aec7bef9113e1c37b1b811a59e17dbd138.tar.gz |
Merge pull request #375 from mcuadros/commit
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] |