diff options
author | René Scharfe <l.s.r@web.de> | 2021-03-13 17:17:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-17 10:20:01 -0700 |
commit | 3d8cbbf2c35141377a86a57a862e74c270e59a2a (patch) | |
tree | 7dd8b0f475c7252adf47b032f550b02ab0dbf4e2 /Documentation/gitweb.conf.txt | |
parent | Git 2.30.2 (diff) | |
download | tgif-3d8cbbf2c35141377a86a57a862e74c270e59a2a.tar.xz |
block-sha1: drop trailing semicolon from macro definition
23119ffb4e (block-sha1: put expanded macro parameters in parentheses,
2012-07-22) added a trailing semicolon to the definition of SHA_MIX
without explanation. It doesn't matter with the current code, but make
sure to avoid potential surprises by removing it again.
This allows the macro to be used almost like a function: Users can
combine it with operators of their choice, but still must not pass an
expression with side-effects as a parameter, as it would be evaluated
multiple times.
Signed-off-by: René Scharfe <l.s.r@web.de>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitweb.conf.txt')
0 files changed, 0 insertions, 0 deletions