aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object
diff options
context:
space:
mode:
authorJon Eskin <eskinjp@gmail.com>2022-08-10 04:10:58 -0400
committerMáximo Cuadros <mcuadros@gmail.com>2022-09-22 10:08:02 +0200
commitaf1efaa7dfb2a33de9c15597dd2cc65ea626cf35 (patch)
tree285e2c2899441bd162028bee9ac7ad31cec2d17d /plumbing/object
parentbc1f419cebcf7505db31149fa459e9e3f8260e00 (diff)
downloadgo-git-af1efaa7dfb2a33de9c15597dd2cc65ea626cf35.tar.gz
minor grammatical fixes
Diffstat (limited to 'plumbing/object')
-rw-r--r--plumbing/object/change.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/object/change.go b/plumbing/object/change.go
index 8b119bc..3c619df 100644
--- a/plumbing/object/change.go
+++ b/plumbing/object/change.go
@@ -39,7 +39,7 @@ func (c *Change) Action() (merkletrie.Action, error) {
return merkletrie.Modify, nil
}
-// Files return the files before and after a change.
+// Files returns the files before and after a change.
// For insertions from will be nil. For deletions to will be nil.
func (c *Change) Files() (from, to *File, err error) {
action, err := c.Action()