Thread (25 messages) 25 messages, 3 authors, 2016-06-15

Re: [PATCH v2 09/17] Add watchman support to reduce index refresh cost

flat view

From: David Turner <hidden>
Date: 2016-06-15 23:08:56

On Thu, 2016-03-24 at 09:47 -0400, Jeff Hostetler wrote:
I'm seeing wm->name have value ".git" rather than ".git/" on Linux.


On 03/18/2016 09:04 PM, David Turner wrote:
quoted
+		if (!strncmp(wm->name, ".git/", 5) ||
+		    strstr(wm->name, "/.git/"))
+			continue;
Thanks.  I don't think I considered the case of .git itself being
modified, although clearly files are occasionally created/deleted in
there.  I'm going to fix this by ignoring all directories, since we'll
capture untracked-cache changes via files in those dirs.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help