Closed
Description
One of the earliest open source static analyzers is sparse
, and occasionally Ramsay Jones sends out mails on the Git mailing list that some function or other should be declared static
because sparse
found out that it is only used within the same file.
Let's add a job to our Azure Pipeline to also run sparse
. There is now a build offering an Ubuntu package of sparse
as build artifact: https://dev.azure.com/git/git/_build?definitionId=10&_a=summary (which can be consumed in the same way the git-sdk-64-minimal
build artifact is consumed, via a PowerShell step).
See the thread around https://public-inbox.org/git/[email protected]/ for more details.
Official documentation how to use sparse: https://kernelnewbies.org/Sparse