inotify/win32: Ignore .git/ paths in notifications
commit4ba9b60f0999c292ea51fa3e37cc062605e92161
authorAndreas Sommer <andreas.sommer87@googlemail.com>
Wed, 21 Mar 2012 02:30:06 +0000 (20 19:30 -0700)
committerDavid Aguilar <davvid@gmail.com>
Wed, 21 Mar 2012 05:29:40 +0000 (20 22:29 -0700)
tree5511fae6766a62543493113d2b835ae29a526aa7
parent04bb97442c1b7d032748cc9627a3635dd4acf540
inotify/win32: Ignore .git/ paths in notifications

Newer versions of git-submodule use the 'gitfile:' feature and
thus the .git/ directory is not always directly beneath the worktree.

Support these configurations by adding an additional check for
the existence of '/.git/' in the path before issuing a change
notification.

Closes #120

Reported-by: Andreas Sommer <andreas.sommer87@googlemail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/inotify.py