Follow symlinks, when requested. (Drop recursion detection) #23

Merged
merged 1 commit into from Feb 22, 2012
Commits on Jan 31, 2012
  1. Remove recursion detection for symlinks.

    jbraeuer committed Jan 31, 2012
    Recursion detection on symlinks was too restrictive. It would detect the following as recursion:
    
    dir/
        main-1234/
                  file1
                  file2
        main -> main-1234
    
    This is clearly not a recursion and a common pattern, eg when hosting package repositories.
    Python's os.walk also does not do recursion detection. So lets behave like Python stdlib.