Jorl17 / sharelatex-git-integration-unofficial

Easily track your ShareLaTeX changes using git. One simple command to rule them all!
GNU General Public License v2.0
68 stars 13 forks source link

Filenames with spaces are not supported #6

Open abelgomez opened 6 years ago

abelgomez commented 6 years ago

Running the sharelatex-git command on repositories containing files with spaces fails with the following error:

$ sharelatex-git -n -e hidden@hidden.com https://hidden
[2018/05/14 17:21:35] Downloading files from https://hidden...
Enter password:
[2018/05/14 17:21:38] Logging in https://hidden with user hidden@hidden.com...
[2018/05/14 17:21:39] Decompressing files...
[2018/05/14 17:21:39] Adding file hidden1
[2018/05/14 17:21:39] Adding file hidden2
...
[2018/05/14 17:21:40] Error executing "git add hidden/file with spaces": error code 128. Output: b"fatal: pathspec 'hidden/file' did not match any files\n"