diff options
author | Elijah Newren <newren@gmail.com> | 2023-04-11 10:42:04 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-11 18:52:11 +0300 |
commit | 4711556905f381c01f1fbae205f67cfa673ab44a (patch) | |
tree | 70720cebdc365c27469222a31f1b93cc17bf66a1 /quote.h | |
parent | b7b189cd5ae99f336c1185f8f8c27a118314ced1 (diff) |
mailmap, quote: move declarations of global vars to correct unit
Since earlier commits removed the inclusion of cache.h from mailmap.c
and quote.c, it feels odd to have the extern declarations of
global variables in cache.h rather than the actual header included
by the source file. Move these global variable extern declarations
from cache.h to mailmap.c and quote.c.
Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.h')
-rw-r--r-- | quote.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,8 @@ struct strbuf; +extern int quote_path_fully; + /* Help to copy the thing properly quoted for the shell safety. * any single quote is replaced with '\'', any exclamation point * is replaced with '\!', and the whole thing is enclosed in a |