Commit graph

3 commits

Author SHA1 Message Date
Richard van der Hoff
ee67dc1f2e pre-commit hook: avoid avoid setting GIT_DIR when running go
It seems that `go get` explodes and craps over your git directory if you set
GIT_DIR, and some of the go tools run `go get` indirectly, so let's jump
through some hoops to fix it.
2019-06-18 14:42:29 +01:00
Richard van der Hoff
7e551a8fc1 fix up the pre-commit hook (#1)
* Run the checks against the git index (ie, what you're about to commit),
  rather than the working copy

* Add the changes made by `go fmt` back to the index, so that they are included
  in the commit, as well as the working copy.
2017-04-05 14:51:07 +01:00
Richard van der Hoff
6393ec357e Give rageshake script its own repo
This was previously at
https://github.com/vector-im/riot-web/blob/develop/scripts/rageshake.go, but
it's not really exclusive to riot-web, and given I'm about to add some more
complexity to it, I'd like for it to be in its own repo.
2017-04-04 11:25:00 +01:00