Skip to content

fix to allow spaces in file name/path - #3

Open
Jidehem wants to merge 1 commit into
ilyaevseev:masterfrom
Jidehem:master
Open

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

Conversation

@Jidehem

@Jidehem Jidehem commented Jan 23, 2020

Copy link
Copy Markdown

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

spasche commented Jan 24, 2020

Copy link
Copy Markdown
Contributor

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