diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-05-05 14:36:25 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-05-05 14:36:25 -0700 |
| commit | 09a2302c70a2e1023a16980afa920f36e6aa63ac (patch) | |
| tree | f2f6d29b605d2fbb672797563290a5e207a9e2c7 /builtin | |
| parent | Merge branch 'jc/show-pathspec-fix' into maint (diff) | |
| parent | 2.36 fast-export regression fix (diff) | |
| download | git-09a2302c70a2e1023a16980afa920f36e6aa63ac.tar.gz git-09a2302c70a2e1023a16980afa920f36e6aa63ac.zip | |
Merge branch 'rs/fast-export-pathspec-fix' into maint
"git fast-export -- <pathspec>" lost the pathspec when showing the
second and subsequent commits, which has been corrected.
source: <2c988c7b-0efe-4222-4a43-8124fe1a9da6@web.de>
* rs/fast-export-pathspec-fix:
2.36 fast-export regression fix
Diffstat (limited to 'builtin')
| -rw-r--r-- | builtin/fast-export.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/fast-export.c b/builtin/fast-export.c index a7d72697fb..1355b5a96d 100644 --- a/builtin/fast-export.c +++ b/builtin/fast-export.c @@ -1261,6 +1261,7 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix) revs.diffopt.format_callback = show_filemodify; revs.diffopt.format_callback_data = &paths_of_changed_objects; revs.diffopt.flags.recursive = 1; + revs.diffopt.no_free = 1; while ((commit = get_revision(&revs))) handle_commit(commit, &revs, &paths_of_changed_objects); |
