Hi, On Fri, 20 Feb 2009, Jakub Narebski wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > > On Fri, 20 Feb 2009, Jeff King wrote: > > > > > But more seriously, how would a user expect this to interact with > > > .gitignore? I know gitignore is about ignoring untracked files, but I > > > can't help but feel the two have something in common. But maybe not. I'm > > > sick today and my brain is not working very well. > > > > I think that the -x option with regular (not --no-index) diff would be > > a little different. .gitignore is for "git add" time, while "git diff" > > happily ignores .gitignore. > > > > Besides, the -x option only works on the basenames (as I implemented it; > > no idea if GNU diff works the same way, but from Michael's patch it looks > > like it does). > > Info: (diff.info.gz)diff Options > > `-x PATTERN' > `--exclude=PATTERN' > When comparing directories, ignore files and subdirectories whose > basenames match PATTERN. *Note Comparing Directories::. Thanks for the clarification! Ciao, Dscho -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html