Can't push to `wip/...` branches because of pre-commit check
I made some edits on my
wip/rae branch and tried to push to the remote
wip/rae branch. But I see this:
11:42:05 ~/Documents/Programming/ghc-cur> git push -u origin wip/rae --force Counting objects: 5, done. Delta compression using up to 2 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 580 bytes | 0 bytes/s, done. Total 5 (delta 4), reused 0 (delta 0) remote: performing tab-check... remote: Error: you may not add a line containing a tab to these tab-free files: remote: testsuite/tests/rename/should_fail/Makefile To ssh://email@example.com/ghc.git ! [remote rejected] wip/rae -> wip/rae (pre-receive hook declined) error: failed to push some refs to 'ssh://firstname.lastname@example.org/ghc.git'
There are two problems here:
- I didn't change
Makefiles like having tabs in them.
|Component||Trac & Git|