diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2021-04-16 02:51:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 11:51:31 +0200 |
commit | e616e9be056db3e66f365a831e7d282496ec674b (patch) | |
tree | 8f9c14411a1f030025cd92728083d0f6713f09fc /options.go | |
parent | f464d193a29099a3bffef03244d3f0a301297525 (diff) | |
download | go-git-e616e9be056db3e66f365a831e7d282496ec674b.tar.gz |
*: typo fixes #291
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -393,7 +393,7 @@ 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 @@ -401,7 +401,7 @@ type AddOptions struct { // 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. |