aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2019-03-04 15:31:22 +0100
committerGitHub <noreply@github.com>2019-03-04 15:31:22 +0100
commit25e9f61108d7097d6614872b4d65e15f4cb581fa (patch)
treecee023daa297dcc1383e51908334d5f6507b78b2
parent7ffd7c86288208e04dae3fcbdd8e142afed0ac18 (diff)
parent3d4b836153bddddae3cf49611ba63149942780dc (diff)
downloadgo-git-25e9f61108d7097d6614872b4d65e15f4cb581fa.tar.gz
Merge pull request #1072 from jeremyschlatter/patch-3
git: Fix typo
-rw-r--r--options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.go b/options.go
index da7b96a..7c9e687 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