[GHC] #10033: Can't push to `wip/...` branches because of pre-commit check

GHC ghc-devs at haskell.org
Tue Jan 27 17:21:41 UTC 2015


#10033: Can't push to `wip/...` branches because of pre-commit check
-------------------------------------+-------------------------------------
              Reporter:  goldfire    |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Trac & Git  |           Version:  7.8.4
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |        Blocked By:
             Test Case:              |   Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 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://git@git.haskell.org/ghc.git
  ! [remote rejected] wip/rae -> wip/rae (pre-receive hook declined)
 error: failed to push some refs to 'ssh://git@git.haskell.org/ghc.git'
 }}}

 There are two problems here:
 1. I didn't change `testsuite/tests/rename/should_fail/Makefile`!
 2. `Makefile`s like having tabs in them.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10033>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list