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

Broken ignore #41

Open
kans opened this issue Apr 27, 2015 · 0 comments
Open

Broken ignore #41

kans opened this issue Apr 27, 2015 · 0 comments

Comments

@kans
Copy link

kans commented Apr 27, 2015

This is a strange bug to reproduce - the gist is that atom doesn't ignore some very simple rules that it should. Further testing revealed this only happens for me when the path is /floobits/ag and not ``~/ag`. The repo in question is ggreer/the_silver_searcher.

d = atom.project.getDirectories()[0]
Directory {symlink: false, didRemoveSubscription: function, willAddSubscription: function, emitter: Emitter, subscriptionCounts: Object…}
d.getPath()
"/floobits/ag"
r = atom.project.repositories[0]
GitRepository {emitter: Emitter, subscriptions: CompositeDisposable, repo: Repository, statuses: Object, upstream: Object…}
r.getPath()
"/floobits/ag/.git"
r.isPathIgnored('compile')
false
(master) $ cd /floobits/ag
(master) $ git check-ignore compile
compile

A few other plan text ignores exhibit the same behavior. Am I missing something?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant