aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2021-04-16 02:51:31 -0700
committerGitHub <noreply@github.com>2021-04-16 11:51:31 +0200
commite616e9be056db3e66f365a831e7d282496ec674b (patch)
tree8f9c14411a1f030025cd92728083d0f6713f09fc /options.go
parentf464d193a29099a3bffef03244d3f0a301297525 (diff)
downloadgo-git-e616e9be056db3e66f365a831e7d282496ec674b.tar.gz
*: typo fixes #291
Diffstat (limited to 'options.go')
-rw-r--r--options.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.go b/options.go
index 0f92fd7..7068796 100644
--- a/options.go
+++ b/options.go
@@ -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.