]> git.ipfire.org Git - thirdparty/git.git/commit - quote.c
quote_path: give flags parameter to quote_path()
authorJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2020 17:01:54 +0000 (10:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2020 17:49:19 +0000 (10:49 -0700)
commit88910c9939cee927a3ed1acca8d33a30c90b8fe5
tree173bd0a6c4615a8086717228dea35bba4370b7b1
parentc34d24b8a4d776a0046261b7fc6d0900ea94cc52
quote_path: give flags parameter to quote_path()

The quote_path() function computes a path (relative to its base
directory) and c-quotes the result if necessary.  Teach it to take a
flags parameter to allow its behaviour to be enriched later.

No behaviour change intended.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c
builtin/grep.c
quote.c
quote.h
wt-status.c