Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

"Clone succeeded, but checkout failed" because of file named ... #208

Closed
@hickford

Description

@hickford

A repo I'm working on has a file called ... in HEAD. git clone goes badly

> git clone https://github.com/matt-hickford/httpbin.git
Cloning into 'httpbin'...
remote: Reusing existing pack: 1444, done.
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 1455 (delta 2), reused 0 (delta 0)
Receiving objects: 100% (1455/1455), 219.23 KiB | 384.00 KiB/s, done.
Resolving deltas: 100% (826/826), done.
Checking connectivity... done.
error: unable to create file httpbin/templates/... (Is a 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'

git clone worked fine on Linux, so is this a bug?

Activity

kusma

kusma commented on May 30, 2014

@kusma
Member

Nope, this is not a bug. On Windows, a file name cannot end with a dot.

t-b

t-b commented on May 30, 2014

@t-b
Contributor
hickford

hickford commented on May 30, 2014

@hickford
Author

Thank you both.

kusma

kusma commented on May 31, 2014

@kusma
Member

@t-b: Nice, I was not aware!

sanjeevkalakuntla

sanjeevkalakuntla commented on Jan 17, 2017

@sanjeevkalakuntla

Thanks it is working.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kusma@hickford@t-b@sanjeevkalakuntla

        Issue actions

          "Clone succeeded, but checkout failed" because of file named `...` · Issue #208 · msysgit/msysgit