]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/noop-with-static-inline'
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Aug 2020 00:02:44 +0000 (17:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Aug 2020 00:02:44 +0000 (17:02 -0700)
A no-op replacement function implemented as a C preprocessor macro
does not perform as good a job as one implemented as a "static
inline" function in catching errors in parameters; replace the
former with the latter in <git-compat-util.h> header.

* jc/noop-with-static-inline:
  compat-util: type-check parameters of no-op replacement functions


Trivial merge