Show More
@@ -634,7 +634,9 b' class dirstate(object):' | |||||
634 |
|
634 | |||
635 | alldirs = None |
|
635 | alldirs = None | |
636 | for ff in files: |
|
636 | for ff in files: | |
637 | if normalize: |
|
637 | # constructing the foldmap is expensive, so don't do it for the | |
|
638 | # common case where files is ['.'] | |||
|
639 | if normalize and ff != '.': | |||
638 | nf = normalize(ff, False, True) |
|
640 | nf = normalize(ff, False, True) | |
639 | else: |
|
641 | else: | |
640 | nf = ff |
|
642 | nf = ff |
General Comments 0
You need to be logged in to leave comments.
Login now