]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: escape file paths before piping to git log
authorNico Rieck <nico.rieck@gmail.com>
Tue, 24 Jan 2023 11:23:17 +0000 (11:23 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2023 16:15:24 +0000 (09:15 -0700)
commit7dd272eca153058da2e8d5b9960bbbf0b4f0cbaa
tree321b4ea87c8c94b4b2977c5ccbb2553a393dc13f
parentbb5cb23daf751790950ff9f761f8884e21c88d00
gitk: escape file paths before piping to git log

We just started piping the file paths via `stdin` instead of passing
them via the command-line, to avoid running into command-line
limitations.

However, since we now pipe the file paths, we need to take care of
special characters.

This fixes https://github.com/git-for-windows/git/issues/2293

Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitk