Skip to content

non-incremental mode for fast-export

Elijah Newren git 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v10 of 2 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fast-export: Fix dropping of files with --import-marks and path limitingbuiltin/fast-export.c t/t9350-fast-export.sh+17 -10 replies
2/2fast-export: Add a --full-tree optionDocumentation/git-fast-export.txt builtin/fast-export.c t/t9350-fast-export.sh+14 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSverre Rabbelier
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/2] non-incremental mode for fast-export

This patch series fixes silently dropped files in uses of fast-export involving both --import-marks and limiting files by path. It also adds a new feature: a --full-tree option to switch from incremental to comprehensive handling of files in commits. The two changes are related in that the bugfix consists of simply automatically activating the new feature in a case where it is required for correct operation.

There is just one change since the last submission
* modify one of the new testcases to not depend on the full exact output of fast-export (since it is no longer the same in next)
This change enables the series to apply cleanly to next. All tests pass with this series applied to either maint or next now.

I'll again note that it may make sense to split this patch series since the first is a bugfix and thus makes sense to apply to maint, while the second (whose testcase was the fragile one) is a feature addition, though a fairly trivial one.

Elijah Newren (2):
fast-export: Fix dropping of files with --import-marks and path limiting
fast-export: Add a --full-tree option

 Documentation/git-fast-export.txt |    6 ++++++
 builtin/fast-export.c             |   11 ++++++++++-
 t/t9350-fast-export.sh            |   14 ++++++++++++++
 3 files changed, 30 insertions(+), 1 deletions(-)