aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.