Giter VIP home page Giter VIP logo

Comments (11)

avlo avatar avlo commented on June 2, 2024

LMint 17.2 here. just cloned the repo & on master branch, navigating all project dir w/o issue.

if you haven't already, try turning autocrlf off:

git config core.autocrlf false

and see if that works. if it doesn't double check <project_root>/.git/config and ~/.gitconfig and delete any/all lines containing autocrlf, restart your shell, then try navigating again.

if that doesn't work, make sure you've got the most recent version of git:

$ git --version
git version 1.9.1

delete existing project dir and git clone fresh again.

from zap-desktop.

torkelrogstad avatar torkelrogstad commented on June 2, 2024

None of the steps you suggested worked. git version gives me 2.7.4, so I doubt that's the issue.

However, adding resources/bin to .gitignore and doing git rm --cached on the binaries provided makes navigation fast. I guess that's git doing something with line endings on those files, even though they are binary. They are 26M, so changing all perceived 'line endings' must've been what took so long.

from zap-desktop.

JimmyMow avatar JimmyMow commented on June 2, 2024

Was there ever any solution to this?

from zap-desktop.

torkelrogstad avatar torkelrogstad commented on June 2, 2024

Nothing other than ignoring the supplied binary files. It doesn't cause any problems for me as long as I run lnd separately. If I shut down lnd and then run npm run dev, I'm stuck at 0% syncing and lnd shutting down null in my terminal.

from zap-desktop.

torkelrogstad avatar torkelrogstad commented on June 2, 2024

Eh, this is kinda weird, but now I don't manage to reproduce this... I was poking around for solutions, and I realized this problem wen't away, even though I kept the original .gitignore. I was hoping I could fix this to prevent the same problem for others in the future, so that's actually kinda frustrating...

from zap-desktop.

JimmyMow avatar JimmyMow commented on June 2, 2024

@torkelrogstad yeah so git doesnt like my binary files. if you manually put your lnd binary inside resources/bin/darwin or whatever it will work. dang! i will do some research in a bit

from zap-desktop.

torkelrogstad avatar torkelrogstad commented on June 2, 2024

Theres also the possibility of adding resources/bin/* -text to .gitattributes docs here, if the problem arises again.

from zap-desktop.

JimmyMow avatar JimmyMow commented on June 2, 2024

Wanna submit a PR for that? Looks good

from zap-desktop.

torkelrogstad avatar torkelrogstad commented on June 2, 2024

Sure, #83

from zap-desktop.

JimmyMow avatar JimmyMow commented on June 2, 2024

Nice. Closing

from zap-desktop.

torkelrogstad avatar torkelrogstad commented on June 2, 2024

The problem is back... Even with the updated attributes file...

from zap-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.