Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Git LFS confuses Atom's git change detection #68

@ruffsl

Description

@ruffsl

edit by @rsese to mention repro steps from #68 (comment)

Finally had a chance to setup LFS again and test this out and I believe I can reproduce.

I installed and configured LFS on 2 computers (1 Windows and 1 Linux, both on 1.37.0), then setup and pushed a test repository as described in this LFS tutorial on computer 1.

Then I:

  1. Cloned the repo on computer 2
  2. Changed the LFS tracked file (head -c 1M /dev/urandom > cat.bin)
  3. Add, commit, and push the change from computer 2
  4. git pull from computer 1

At this point, cat.bin in the tree view is orange and git status reports that everything is up-to-date. I reloaded Atom as well and cat.bin remained in orange until I changed it locally on computer 1 and added/committed that change.


Just following up on this issue atom/atom#8291 that is thought to be rooted in this repo. From @envygeeks 's findings , looks like a lfs filter should be used. I'm unfamiliar with this codebase however.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions