aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/commit
diff options
context:
space:
mode:
authorferhat elmas <elmas.ferhat@gmail.com>2017-11-20 03:54:25 +0100
committerferhat elmas <elmas.ferhat@gmail.com>2017-11-20 03:55:01 +0100
commitd9b8691c6b137bb59ee185f69acf868a8f42b77d (patch)
tree03d8d5ef744a9df744d7f7b42674cacf12d4da18 /_examples/commit
parentdcec8517e203aa22f28b72e3015a4b3406d7cc62 (diff)
downloadgo-git-d9b8691c6b137bb59ee185f69acf868a8f42b77d.tar.gz
examples,plumbing,utils: typo fixes
Diffstat (limited to '_examples/commit')
-rw-r--r--_examples/commit/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/_examples/commit/main.go b/_examples/commit/main.go
index aeb1d4f..556cb9c 100644
--- a/_examples/commit/main.go
+++ b/_examples/commit/main.go
@@ -12,13 +12,13 @@ import (
"gopkg.in/src-d/go-git.v4/plumbing/object"
)
-// Basic example of how to commit changes to the current branch to an existant
+// Basic example of how to commit changes to the current branch to an existent
// repository.
func main() {
CheckArgs("<directory>")
directory := os.Args[1]
- // Opens an already existant repository.
+ // Opens an already existent repository.
r, err := git.PlainOpen(directory)
CheckIfError(err)