-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitk path filter fails with backslashes #2293
Comments
@gix Thanks for the reference to the commit. Were you able to see where the quoting should go? A PR would be welcome ! |
I've added a pull request with the simple fix I'm using locally. I don't think anything else needs escaping or special handling here (Paths with whitespaces are broken which is another issue though). |
Fixes git-for-windows#2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Ping. Just hit this again on a new machine. As stated in the comments for pull request #2297 the extra escaping is not required for git, but because Tcl's IO stuff requires it, and would be a problem on Linux, too. |
Thanks for the ping! |
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
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 git-for-windows/git#2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fixes git-for-windows#2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
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 git-for-windows#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>
Fixes git-for-windows#2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Fixes #2293 Signed-off-by: Nico Rieck <nico.rieck@gmail.com>
Setup
Details
Commit b136617 broke gitk's file path filtering for paths containing backslashes, e.g.
gitk foo\bar.txt
fails to list any commits withbar.txt
. The backslashes have to be escaped before piping to git.The text was updated successfully, but these errors were encountered: