llir / llvm

Library for interacting with LLVM IR in pure Go.
https://llir.github.io/document/
BSD Zero Clause License
1.19k stars 78 forks source link

git: commit hook #185

Closed dannypsnl closed 3 years ago

dannypsnl commented 3 years ago

I think a template commit message would be nice, and using direnv can load hooks automatically, what do you think? @mewmew

dannypsnl commented 3 years ago

Template

# title: message. The following line is an example.
ci: 

# body
mewmew commented 3 years ago

I'm ok with following the commit message style used by the Go project (https://github.com/golang/go/commits/master).

pkg/name: short commit message

Longer description of change (optional).

Ref to specific issue (optional).

Personally, I don't think I need a commit hook for this. Feel free to configure one for your own use.

Cheers, Robin