[tor-bugs] #27993 [Core Tor/Tor]: craft a git pre push hook that declines to receive fixup! commits?

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 10 18:42:41 UTC 2018


#27993: craft a git pre push hook that declines to receive fixup! commits?
------------------------------+--------------------
     Reporter:  arma          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 Every so often I see nickm push a commit to tor's main git that is a
 fixup! commit. It's clear that he meant to squash them before the push but
 didn't.

 Is there some one-liner or something we can put in a git hook that notices
 these unintended commits and tells us to fix them before pushing?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27993>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list