aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorJeremy Schlatter <jeremy.schlatter@gmail.com>2019-02-22 22:42:02 -0800
committerGitHub <noreply@github.com>2019-02-22 22:42:02 -0800
commit3d4b836153bddddae3cf49611ba63149942780dc (patch)
tree0dc1481b5a60d39c0965817cc590479ccbe39044 /options.go
parentdb6c41c156481962abf9a55a324858674c25ab08 (diff)
downloadgo-git-3d4b836153bddddae3cf49611ba63149942780dc.tar.gz
git: Fix typo
Signed-off-by: Jeremy Schlatter <jeremy.schlatter@gmail.com>
Diffstat (limited to 'options.go')
-rw-r--r--options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.go b/options.go
index ed7689a..f5a46ec 100644
--- a/options.go
+++ b/options.go
@@ -288,7 +288,7 @@ const (
// ResetOptions describes how a reset operation should be performed.
type ResetOptions struct {
- // Commit, if commit is pressent set the current branch head (HEAD) to it.
+ // Commit, if commit is present set the current branch head (HEAD) to it.
Commit plumbing.Hash
// Mode, form resets the current branch head to Commit and possibly updates
// the index (resetting it to the tree of Commit) and the working tree