Skip to content

mrc/git-hook-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

git-hook-library

An exceptionally small collection of git hooks.

pre-commit hooks

  • pre-commit.no-tabs

    Reject commits which contain tabs (based on git config hooks.allowtabs)

    Designed as an answer to a StackOverflow question.

    Since git 1.7.2 you can use core.whitespace=tab-in-indent to detect tabs used for indentation (though not tabs embedded in the line). See stackoverflow.

Releases

No releases published

Packages

No packages published