summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2010-07-17 11:00:50 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-07-19 11:12:15 -0700
commit4087a02e452aafd0e9a6c3471c40fe76d6aafbe4 (patch)
tree678629b4fe58e1c6a8ed175aabd75345fb54fe23 /Makefile
parentDocumentation: add submodule.* to the big configuration variable list (diff)
downloadtgif-4087a02e452aafd0e9a6c3471c40fe76d6aafbe4.tar.xz
fast-export: Fix dropping of files with --import-marks and path limiting
Since fast-export operates by listing file changes since the (first) parent commit, when using --import-marks and path limiting and using a wider list of paths than in previous runs, files from the new path(s) will silently be omitted from the result unless or until a commit which explicitly changes those files. The resulting repository in such cases is broken and makes no sense. This commit fixes this by having fast-export work with complete trees instead of incremental changes (when both --import-marks and path limiting are used). It works by issuing a 'deleteall' directive with each commit and then listing the full set of files that make up that commit, rather than just showing the list of files that have changed since the (first) parent commit. Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Sverre Rabbelier <srabbelier@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions