• Denys Mishunov's avatar
    Set tree list accounting for already-opened files · 5e0423eb
    Denys Mishunov authored
    Since we can create files from URL now, this means that these files will
    not exist in the tree returned from API: they exist on the client
    only before the first commit. In order to still show the newly-created
    files in the tree, we should not override the tree, but merge the tree
    existing on the client and the one coming from API.
    
    Changelog entry
    
    Moved trees merging into mutation
    5e0423eb
tree.js 1.53 KB