Skip to content

xaver-k/no-tabs-pre-commit-hook-bug-reporduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Demo-repo for reproducing Lucas-C/pre-commit-hooks#74

To reproduce the issue, do the following:

  • check out the repo
  • install pre-commit:
    pip3 install pre-commit
    pre-commit install --install-hooks --overwrite --hook-type commit-msg
  • try to ammend a commit
    git commit --amend
    # close the editor for the commit message without changes to the file
  • error output:
    No-tabs checker..........................................................Failed
    - hook id: forbid-tabs
    - exit code: 1
    
    Tabs detected in file: .git/COMMIT_EDITMSG
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published