From: Junio C Hamano Date: Tue, 26 Sep 2006 05:11:07 GMT Subject: Re: [PATCH] Clarified documentation of --exclude-per-directory. Message-ID: <7v3baftdp0.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060925155821.GC26844@spearce.org> Shawn Pearce writes: > Tommi Virtanen noted on #git today that > > git ls-files --exclude-per-directory > > doesn't appear to work as advertised by the documentation unless > --others is also used. According to the current source code this > is the case as the --exclude-per-directory file isn't read unless > we are iterating over the working directory, which only happens > with --others. I am puzzled by this problem description. If we _were_ to read --exclude-per-directory file when we are not doing --others, what better behaviour would we get out of the command?