You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a git repository that contains a file that is committed but matches a .gitignore rule, it will be checked out by git but not by gitignore.nix.
Ah, I see this might already be mentioned as missing functionality in the README file, specifically in the table with the row "Includes added but ignored files" (although I think "added" is not exactly the same as "committed" AFAIU).
Anyway, feel free to close this issue if you'd like.
It's a valid issue, and I think it should be resolved when Nix provides a sufficiently lazy fetching functionality, such as an alternative to. Not really blocked on the literal issue, but I'll link it as
If you have a git repository that contains a file that is committed but matches a
.gitignore
rule, it will be checked out bygit
but not bygitignore.nix
.Example repository:
If you clone this repository with git,
dir/file
will be checked out inside the cloned repo.However, if you use
gitignore.nix
, it will filterdir/file
, thus resulting in what appears to be an empty repository...The text was updated successfully, but these errors were encountered: