jenkins2git icon indicating copy to clipboard operation
jenkins2git copied to clipboard

fix to allow spaces in file name/path

Open Jidehem opened this issue 5 years ago • 1 comments

If you have spaces in file names or in path, the current implementation will fail because of awk '$1 == "D" { print $2; }' that will extract only the first part of the file path, up to the first space. The fixes implements a way to circumvent this using sed

Jidehem avatar Jan 23 '20 10:01 Jidehem

I noticed that the change introduces CR LF newlines. It can be fixed directly with:

dos2unix jenkins2git.sh
git commit --amend --no-edit -a

spasche avatar Jan 24 '20 15:01 spasche