Skip to content

Commit 04e2659

Browse files
Make --git-dir work with home folder reference ~
Signed-off-by: Jacob Stopak <jacob@initialcommit.io>
1 parent 826251c commit 04e2659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_dummy/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def main(
2424
),
2525
):
2626
settings.name = name
27-
settings.git_dir = os.path.join(git_dir, name)
27+
settings.git_dir = os.path.join(os.path.expanduser(git_dir), name)
2828
settings.commits = commits
2929

3030
repo = git.Repo.init(settings.git_dir)

0 commit comments

Comments
 (0)