Re: [PATCH] Documentation/git-update-index.txt: Remove obsolete note
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 31, 2011, 12:15 UTC
- Message-ID
- <AANLkTik3nEE2mtpRVwuQxfoNZd8Ejpgc=T=GS_jEpXsB@mail.gmail.com>
- In-Reply-To
- <4D9329C5.3060809@elegosoft.com>
On Wed, Mar 30, 2011 at 8:01 PM, Jakob Pfender <jpfender@elegosoft.com> wrote:
Show 7 quoted lines
> 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.
Show 8 quoted lines
> <file>:: > 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