[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #34433 [Core Tor/Tor]: Replace clang-format.sh with a faster, better version
#34433: Replace clang-format.sh with a faster, better version
------------------------------+--------------------------------
Reporter: nickm | Owner: nickm
Type: enhancement | Status: assigned
Priority: Medium | Milestone: Tor: 0.4.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: c-style
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------------------
We need to replace clang-format.sh with a version that meets our use-
cases.
Notably:
* we need to be able to check whether anything is misformatted without
actually reformatting it.
* we need to be able to look at only those files that are staged to be
committed, so that our git hooks can work.
* we need a mode to reformat everything that has changed in git, so that
we can run a quick "reformat everything" command without scanning the
entire repostiory (which takes around 60 seconds for me).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34433>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs