From: Nguyen Thai Ngoc Duy Date: Thu, 31 Mar 2011 12:15:43 GMT Subject: Re: [PATCH] Documentation/git-update-index.txt: Remove obsolete note Message-ID: In-Reply-To: <4D9329C5.3060809@elegosoft.com> On Wed, Mar 30, 2011 at 8:01 PM, Jakob Pfender wrote: > 8dcf39 (Prevent bogus paths from being added to the index) introduced a > check for files beginning with '.', preventing path names such as > `./file`, `dir/./file` or `dir/../file` from being added. This was > reflected in the man page. > > d089eba (setup: sanitize absolute and funny paths in get_pathspec()) > removed this check without reflecting the change in the man page. Sounds good. >  :: >        Files to act on. > -       Note that files beginning with '.' are discarded. This includes > -       `./file` and `dir/./file`. If you don't want this, then use > -       cleaner names. > -       The same applies to directories ending '/' and paths with '//' > +       Note that directories ending in '/' and paths with '//' are > +       discarded. Do you mean the slashes or the directories are discarded? Directories are not, I believe. -- Duy