aboutsummaryrefslogtreecommitdiffstats
path: root/_examples
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-06-11 10:26:30 +0200
committerGitHub <noreply@github.com>2018-06-11 10:26:30 +0200
commit0710c6cb710a0cdab04ab7f61cc62e23cfcacbee (patch)
tree38ca4ef4d3320aeebed55b5154926bf23dd5b3c4 /_examples
parente7cf6d22593c8fcdd393b0da9d922c670b61a199 (diff)
parentbf6190841e8b6cd3a216bc056e5b71c73e18c410 (diff)
downloadgo-git-0710c6cb710a0cdab04ab7f61cc62e23cfcacbee.tar.gz
Merge pull request #859 from ebilling/fix-858/token-authentication
plumbing/transport: http, Adds token authentication support [Fixes #858]
Diffstat (limited to '_examples')
-rw-r--r--_examples/branch/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/branch/main.go b/_examples/branch/main.go
index fa1ad01..ff33ead 100644
--- a/_examples/branch/main.go
+++ b/_examples/branch/main.go
@@ -28,7 +28,7 @@ func main() {
// Create a new plumbing.HashReference object with the name of the branch
// and the hash from the HEAD. The reference name should be a full reference
- // name and now a abbreviated one, as is used on the git cli.
+ // name and not an abbreviated one, as is used on the git cli.
//
// For tags we should use `refs/tags/%s` instead of `refs/heads/%s` used
// for branches.