Skip to content

Git LFS fails to checkout when Git repo is used via symlink #866

Closed

Description

@dentuzhik

I think this one is related to #591

The basic failure test-case is the following:

  1. Clone fresh repo, with git-lfs configured
  2. Create a symlink to this repo somewehere
  3. cd into repo by symlink
  4. git lfs fetch; git lfs checkout - fetch succedes, checkout fails with error: git-lfs died of signal 13

Doing absolutely the same thing without symlink works just fine.

Here's the output of git lfs env, when accessing repo by symlink, the top arrow is the real path, the bottom one is symlink path.
2015-11-26 15-18-52 ssh

More on that, git lfs logs last are empty in this case:
2015-11-26 15-23-21 ssh

Activity

  1. dentuzhik commented on Nov 26, 2015

    @dentuzhik
    Author

    Probably related to
    #811
    #818

  2. dentuzhik commented on Nov 26, 2015

    @dentuzhik
    Author

    Tried with merged #816 patch. No luck. Although paths in git lfs env got fixed.

  3. technoweenie commented on Nov 26, 2015

    @technoweenie
    Contributor

    Cool, thanks for the report. Can you try running GIT_TRACE=1 git lfs checkout instead? I wonder what it's doing before it dies of signal 13.

  4. ttaylorr commented on Apr 16, 2018

    @ttaylorr
    Contributor

    If I am reading this issue correctly, I believe that it is a duplicate of #811, which was fixed in #818.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions