mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-11-17 03:26:08 +00:00
Make --all be a default argument for fast-export, not a mandatory argument
This commit is contained in:
parent
02bafc21ff
commit
ef0ad0fad4
@ -393,7 +393,9 @@ class FastExportFilter(object):
|
||||
raise SystemExit("Could not parse line: '%s'" % self.nextline)
|
||||
|
||||
def FastExportOutput(source_repo, extra_args = []):
|
||||
return Popen(["git", "fast-export", "--all", "--topo-order"] + extra_args,
|
||||
if not extra_args:
|
||||
extra_args = ["--all"]
|
||||
return Popen(["git", "fast-export", "--topo-order"] + extra_args,
|
||||
stdout = PIPE,
|
||||
cwd = source_repo)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user