mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-06 18:32:14 +02:00
filter-repo: don't default to creating bare repositories for importing into
Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
parent
7e0b7a9fc2
commit
a6b008eaac
@ -1129,7 +1129,7 @@ def fast_import_input(target_repo, extra_args = None):
|
||||
# If target-repo directory does not exist, create it and initialize it
|
||||
if not os.path.isdir(target_repo):
|
||||
os.makedirs(target_repo)
|
||||
if call(["git", "init", "--bare", "--shared"], cwd = target_repo) != 0:
|
||||
if call(["git", "init", "--shared"], cwd = target_repo) != 0:
|
||||
raise SystemExit("git init in %s failed!" % target_repo)
|
||||
|
||||
# Create and return the git process
|
||||
|
Loading…
Reference in New Issue
Block a user