Skip to content

Commit

Permalink
chore: do not use template when initializing git repository
Browse files Browse the repository at this point in the history
We have no use for sample hooks and other files.
  • Loading branch information
nijel committed Nov 29, 2024
1 parent 681394b commit fead975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weblate/vcs/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def is_valid(self):

@classmethod
def _init(cls, path: str) -> None:
cls._popen(["init", path])
cls._popen(["init", "--template=", path])
if cls.default_branch != "master":
# We could do here just init --initial-branch {branch}, but that does not
# work in Git before 2.28.0
Expand Down

0 comments on commit fead975

Please sign in to comment.