Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] convert filter: supply path to external driver

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:16

Johannes Sixt [off-list ref] writes:
What happens if there are any shell special characters in the path name
(or spaces, for that matter). Does this shell-escape the substituted path
name anywhere in the call chain?
Good eyes.  Thanks.

You would need something like %'s (that is "'" modifier applied to 's'
placeholder in strbuf_expand() to cause the expansion sq'ed), and then the
caller must write something like

	clean = git-p4-filter --clean '%s'
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help