-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly strip quotes in GitStatusConsumer
Before this, `GitStatusConsumer.resolvePath()` and `GitStatusConsumer.resolveURI()` got into trouble with files that include spaces. To reproduce failure condition (in a git repo): echo "I'll fail" > "some nice file" git add "some nice file" git status --porcelain The output of the `git status` is: A "some nice file" This causes at least [JENKINS-24686](https://issues.jenkins-ci.org/browse/JENKINS-24686) downstream.
- Loading branch information
Showing
2 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters