Commit 4b732b9
committed
helper-selector: fix quoting of trailing backslashes
In Git for Windows' 6d8684161ee9 (mingw: fix quoting of arguments,
2019-09-13), we fixed a bug where it would quote command-line arguments
with trailing backslashes incorrectly when they needed to be quoted.
While the helper-selector only quotes paths to files (which, by
definition, cannot end in a backslash), we still should fix the
`quote()` function, just in case that we will want to use it on
parameters other than file paths.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent ca50867 commit 4b732b9
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
| 295 | + | |
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| |||
313 | 314 | | |
314 | 315 | | |
315 | 316 | | |
316 | | - | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
| |||
0 commit comments