On Wed, Mar 30, 2011 at 8:01 PM, Jakob Pfender <jpfender@xxxxxxxxxxxxx> 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. > Â<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 -- 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