adjustTree: Consider submodule deletions
authorKyle Meyer <kyle@kyleam.com>
Thu, 7 Jan 2021 00:16:30 +0000 (19:16 -0500)
committerJoey Hess <joeyh@joeyh.name>
Thu, 7 Jan 2021 17:43:09 +0000 (13:43 -0400)
commitfd161da2c2d024167f6a5284dab97f6b95954d1b
treea7054a2ab8949088ee242e4c60888b9c9fa57df7
parentc940b02cdaddf8fcd55bf30842671fde98ab7116
adjustTree: Consider submodule deletions

In addition to regular file deletions, the removefiles argument passed
to adjustTree may contain removed submodules.  When making the new
tree, filter these out in the same way that is done for regular files
so that the deletion is propagated.
Git/Tree.hs