Skip to content

Commit e616e9b

Browse files
authored
*: typo fixes go-git#291
1 parent f464d19 commit e616e9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

options.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -393,15 +393,15 @@ var (
393393
ErrMissingAuthor = errors.New("author field is required")
394394
)
395395

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

0 commit comments

Comments
 (0)