summaryrefslogtreecommitdiff
path: root/git-rebase--interactive.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-12-16 11:15:28 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-12-15 23:04:22 -0800
commiteec3e7e406867487036cf447fe8fa18740824b2f (patch)
tree1fab13da5e36b82b19f5da59b9339157c5847bcd /git-rebase--interactive.sh
parentcache-tree: fix writing cache-tree when CE_REMOVE is present (diff)
downloadtgif-eec3e7e406867487036cf447fe8fa18740824b2f.tar.xz
cache-tree: invalidate i-t-a paths after generating trees
Intent-to-add entries used to forbid writing trees so it was not a problem. After commit 3f6d56d (commit: ignore intent-to-add entries instead of refusing - 2012-02-07), we can generate trees from an index with i-t-a entries. However, the commit forgets to invalidate all paths leading to i-t-a entries. With fully valid cache-tree (e.g. after commit or write-tree), diff operations may prefer cache-tree to index and not see i-t-a entries in the index, because cache-tree does not have them. Reported-by: Jonathon Mah <me@JonathonMah.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-rebase--interactive.sh')
0 files changed, 0 insertions, 0 deletions