• Show log

    Commit

  • Hash : 90997e40
    Author : Edward Thomson
    Date : 2015-05-12T12:14:55

    attr: less path mangling during attribute matching
    
    When handling attr matching, simply compare the directory path where the
    attribute file resides to the path being matched.  Skip over commonality
    to allow us to compare the contents of the attribute file to the remainder
    of the path.
    
    This allows us to more easily compare the pattern directly to the path,
    instead of trying to guess whether we want to compare the path's basename
    or the full path based on whether the match was inside a containing
    directory or not.
    
    This also allows us to do fewer translations on the pattern (trying to
    re-prefix it.)