comparison Makefile @ 24537:2bb13f2b778c stable

dirstate: don't require exact case when adding dirs on icasefs (issue4578) We don't require it when adding files on a case insensitive filesystem, so don't require it to add directories for consistency. The problem with the previous code was that _walkexplicit() was only returning the normalized directory. The file(s) in the directory are then appended, and passed to the matcher. But if the user asks for 'capsdir1/capsdir', the matcher will not accept 'CapsDir1/CapsDir/AbC.txt', and the name is dropped. Matching based on the non-normalized name is required. If not normalizing, skip the extra string building for efficiency. '.' is replaced with '' so that the path being tested when no file is specified, isn't prefixed with './' (and therefore fail the match).
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 31 Mar 2015 11:11:39 -0400
parents d0ef40776999
children 00809c43d72c
comparison
equal deleted inserted replaced
24536:d09262d6ec23 24537:2bb13f2b778c