Skip to content

Commit

Permalink
*: typo fixes #291
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwidman committed Apr 16, 2021
1 parent f464d19 commit e616e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options.go
Expand Up @@ -393,15 +393,15 @@ var (
ErrMissingAuthor = errors.New("author field is required")
)

// AddOptions describes how a add operation should be performed
// AddOptions describes how an `add` operation should be performed
type AddOptions struct {
// All equivalent to `git add -A`, update the index not only where the
// working tree has a file matching `Path` but also where the index already
// has an entry. This adds, modifies, and removes index entries to match the
// working tree. If no `Path` nor `Glob` is given when `All` option is
// used, all files in the entire working tree are updated.
All bool
// Path is the exact filepath to a the file or directory to be added.
// Path is the exact filepath to the file or directory to be added.
Path string
// Glob adds all paths, matching pattern, to the index. If pattern matches a
// directory path, all directory contents are added to the index recursively.
Expand Down

0 comments on commit e616e9b

Please sign in to comment.