jenkins2git
jenkins2git copied to clipboard
fix to allow spaces in file name/path
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
I noticed that the change introduces CR LF newlines. It can be fixed directly with:
dos2unix jenkins2git.sh
git commit --amend --no-edit -a