• Kai Willadsen's avatar
    Assume same file type if not available for all files (closes bgo#658407) · 57c8bfa3
    Kai Willadsen authored
    For the purpose of syntax highlighting, we always try to determine the
    mime type of files, currently using only the filename. In situations
    where the filename tells us nothing, we can reasonably assume that all
    files have the same type.
    
    This commit changes our behaviour so that, if we get one useful file
    type, we use it to fill in missing file types in the remaining files.
    This should specifically help with cases where temporary files are
    given different extensions. e.g., TortoiseSVN uses .mine, .working, etc.
    57c8bfa3
Name
Last commit
Last update
bin Loading commit data...
data Loading commit data...
help Loading commit data...
meld Loading commit data...
po Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile Loading commit data...
NEWS Loading commit data...
meld.1 Loading commit data...
meld.doap Loading commit data...