Skip to content
Snippets Groups Projects
  • Matt Harbison's avatar
    235d0bc11e1d
    fileset: use filectx.isbinary() to filter out binaries in eol() · 235d0bc11e1d
    Matt Harbison authored
    Since LFS stores the binary attribute in the pointer file, this means that the
    file doesn't need to be downloaded in order to be skipped.  This function also
    catches an IOError if the data can't be loaded in the non-LFS case.
    
    I wonder if it's worth storing the unix/dos attributes in the pointer file as
    well, though I'd expect LFS files to be binary most of the time.
    235d0bc11e1d
    History
    fileset: use filectx.isbinary() to filter out binaries in eol()
    Matt Harbison authored
    Since LFS stores the binary attribute in the pointer file, this means that the
    file doesn't need to be downloaded in order to be skipped.  This function also
    catches an IOError if the data can't be loaded in the non-LFS case.
    
    I wonder if it's worth storing the unix/dos attributes in the pointer file as
    well, though I'd expect LFS files to be binary most of the time.