Skip to content

fix to allow spaces in file name/path#3

Open
Jidehem wants to merge 1 commit intoilyaevseev:masterfrom
Jidehem:master
Open

fix to allow spaces in file name/path#3
Jidehem wants to merge 1 commit intoilyaevseev:masterfrom
Jidehem:master

Conversation

@Jidehem
Copy link

@Jidehem Jidehem commented Jan 23, 2020

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

@spasche
Copy link
Contributor

spasche commented Jan 24, 2020

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants