Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git clone error #1

Closed
hakonrossebo opened this issue Mar 14, 2016 · 6 comments
Closed

Git clone error #1

hakonrossebo opened this issue Mar 14, 2016 · 6 comments

Comments

@hakonrossebo
Copy link
Collaborator

Not sure if this is only a problem on my machine, but I'm getting this error message when cloning your repository:

Cloning into 'elm-mdl'...
remote: Counting objects: 42, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 42 (delta 11), reused 41 (delta 10), pack-reused 0
Unpacking objects: 100% (42/42), done.
Checking connectivity... done.
error: unable to create file Material/Aux.elm (No such file or directory)
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

@debois
Copy link
Owner

debois commented Mar 14, 2016

I can't reproduce this. The line

error: unable to create file Material/Aux.elm (No such file or directory)

seems to indicate some problem on your local machine?

@hakonrossebo
Copy link
Collaborator Author

I was not aware of it, but it seems like Aux is a reserved filename in Windows. I tried now and it prevents me from saving a text file with the name: Aux.txt.

Discussed here:

msysgit/msysgit#208

Referencing this githook file, where AUX is listed.
https://github.com/t-b/git-pre-commit-hook-windows-filenames/blob/master/pre-commit

Reserved names plus possible extension

CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9

reservednames=$(echo -n "$filename" | LC_ALL=C grep -i -E '(CON|PRN|AUX|NUL|COM1|COM2|COM3|COM4|COM5|COM6|COM7|COM8|COM9|LPT1|LPT2|LPT3|LPT4|LPT5|LPT6|LPT7|LPT8|LPT9).[a-z]{3}' | wc -c)

debois pushed a commit that referenced this issue Mar 16, 2016
@debois
Copy link
Owner

debois commented Mar 16, 2016

I renamed Aux.elm -> Helpers.elm. Could you try again?

@hakonrossebo
Copy link
Collaborator Author

Thanks, working fine now.

@debois
Copy link
Owner

debois commented Mar 16, 2016

Very good. Note that there is also an elm-package now:

http://package.elm-lang.org/packages/debois/elm-mdl/1.0.1/

@hakonrossebo
Copy link
Collaborator Author

Looks nice. Keep up the great work :)

hakonrossebo added a commit that referenced this issue Sep 9, 2016
olegs added a commit to JetBrains-Research/fishbone that referenced this issue Apr 7, 2020
olegs added a commit to JetBrains-Research/bioinf-commons that referenced this issue Apr 7, 2020
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

No branches or pull requests

2 participants