aboutsummaryrefslogtreecommitdiffstats
path: root/_examples
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-11-20 11:16:47 +0100
committerGitHub <noreply@github.com>2017-11-20 11:16:47 +0100
commit5cf1147e1b891aee85fdd66d24cb5e8cf86531ce (patch)
treea0a4550273fd15ecb04ad6b548f13c8e3cfce2d7 /_examples
parent6abcb9798743579819719eb7328f2a7bdc8a882e (diff)
parentd9b8691c6b137bb59ee185f69acf868a8f42b77d (diff)
downloadgo-git-5cf1147e1b891aee85fdd66d24cb5e8cf86531ce.tar.gz
Merge pull request #647 from ferhatelmas/typo-fixes
examples,plumbing,utils: typo fixes
Diffstat (limited to '_examples')
-rw-r--r--_examples/commit/main.go4
-rw-r--r--_examples/context/main.go2
2 files changed, 3 insertions, 3 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)
diff --git a/_examples/context/main.go b/_examples/context/main.go
index 72885ff..f873055 100644
--- a/_examples/context/main.go
+++ b/_examples/context/main.go
@@ -9,7 +9,7 @@ import (
. "gopkg.in/src-d/go-git.v4/_examples"
)
-// Gracefull cancellation example of a basic git operation such as Clone.
+// Graceful cancellation example of a basic git operation such as Clone.
func main() {
CheckArgs("<url>", "<directory>")
url := os.Args[1]