Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanbanken committed Apr 26, 2021
1 parent 1185e69 commit e3c7eed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/gitlogic/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ func orFatal(err error, ctx string) {
}
}

// addAllFiles adds all files. Somehow w.AddWithOptions traverses only over
// the filesystem, therefore not removing any non-existing files on the
// filesystem from the index.
// addAllFiles is "git add -A".
// Somehow w.AddWithOptions traverses only over the filesystem, therefore
// not removing any non-existing files on the filesystem from the index.
func addAllFiles(w *git.Worktree) error {
files, err := w.Status()
if err != nil {
Expand Down

0 comments on commit e3c7eed

Please sign in to comment.