Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion worktree_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func diffTreeIsEquals(a, b noder.Hasher) bool {
}

// Add adds the file contents of a file in the worktree to the index. if the
// file is already stagged in the index no error is returned.
// file is already staged in the index no error is returned.
func (w *Worktree) Add(path string) (plumbing.Hash, error) {
s, err := w.Status()
if err != nil {
Expand Down