summaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-11 16:37:11 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-11 16:37:31 -0400
commit128cb3a028dca921dff78da8657f75bfecf31d5b (patch)
treec7cd0625869a7c617df7725a15c9d2c3339c212b /Git
parente1eab3343efe8b583cf9c6e542d8a33fad1e80b5 (diff)
fixme
Diffstat (limited to 'Git')
-rw-r--r--Git/Tree.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Git/Tree.hs b/Git/Tree.hs
index 91d81844b..1ed862869 100644
--- a/Git/Tree.hs
+++ b/Git/Tree.hs
@@ -112,6 +112,11 @@ data TreeItem = TreeItem TopFilePath FileMode Sha
treeItemToTreeContent :: TreeItem -> TreeContent
treeItemToTreeContent (TreeItem f m s) = TreeBlob f m s
+
+-- FIXME: When addtreeitems has an item in a new
+-- subdirectory, no subtree contains it. We need to add a
+-- new subtree in this case, but not in the case where the
+-- subdirectory already exists in the tree.
{- Applies an adjustment to items in a tree.
-