]> Cypherpunks repositories - gostls13.git/commit
misc/git: Fix non-literal period in pre-commit grep
authorDerek Shockey <derek.shockey@gmail.com>
Wed, 24 Feb 2016 05:17:25 +0000 (21:17 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 26 Feb 2016 19:06:38 +0000 (19:06 +0000)
commit90fea9d09ac9876147c7223884a09357c3418ed2
tree947a6cba3f6ad6540b94693fe29306374b524802
parentc2d3e1123c2f49aab02260f125a940ed723e42a0
misc/git: Fix non-literal period in pre-commit grep

Looks like this was intended to match a literal period to restrict
this to `.go` files, but in POSIX grep, the unescaped period matches
any character.

Change-Id: I20e00323baa9e9631792eff5035966297665bbee
Reviewed-on: https://go-review.googlesource.com/19880
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
misc/git/pre-commit