diff options
author | Marc Sanmiquel <marcsanmiquel@gmail.com> | 2019-10-28 21:18:44 +0100 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-10-29 05:10:19 +0000 |
commit | 0a405bc1dde109ab821285b20eb0b0d7506bb8fb (patch) | |
tree | 429b026b586dd1bc7c1bcef523cb2073177da2e4 | |
parent | 6f0fc3fed0969a146b9455fc73db91695c5b6d7e (diff) |
content/go-fmt-your-code: Fix broken link for go/misc/git/pre-commit script.
Change-Id: If5df5d84b933fdfcc476cb2bafeb9982a6ac9a49
Reviewed-on: https://go-review.googlesource.com/c/blog/+/203611
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | content/go-fmt-your-code.article | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/go-fmt-your-code.article b/content/go-fmt-your-code.article index 3d41f0d..ea6cd13 100644 --- a/content/go-fmt-your-code.article +++ b/content/go-fmt-your-code.article @@ -40,7 +40,7 @@ For emacs users, [[https://github.com/dominikh/go-mode.el][go-mode.el]] provides For Eclipse or Sublime Text users, the [[https://github.com/GoClipse/goclipse][GoClipse]] and [[https://github.com/DisposaBoy/GoSublime][GoSublime]] projects add a gofmt facility to those editors. -And for Git aficionados, the [[https://golang.org/misc/git/pre-commit][misc/git/pre-commit script]] is a pre-commit hook that prevents incorrectly-formatted Go code from being committed. If you use Mercurial, the [[https://bitbucket.org/fhs/hgstyle/overview][hgstyle plugin]] provides a gofmt pre-commit hook. +And for Git aficionados, the [[https://github.com/golang/go/blob/release-branch.go1.1/misc/git/pre-commit][misc/git/pre-commit script]] is a pre-commit hook that prevents incorrectly-formatted Go code from being committed. If you use Mercurial, the [[https://bitbucket.org/fhs/hgstyle/overview][hgstyle plugin]] provides a gofmt pre-commit hook. * Mechanical source transformation |