Skip to content

Commit

Permalink
Merge pull request #643 from glacambre/wip/override-fetch-setting
Browse files Browse the repository at this point in the history
git.py(git_cmd): always pass "-c" "fetch.prune=false" to git
  • Loading branch information
leocardao authored Jan 8, 2024
2 parents 28fb01a + de4efc6 commit 86972f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/e3/vcs/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def git_cmd(
if output == GIT_LOG_STREAM:
output = self.log_stream

p_cmd = [arg for arg in cmd if arg is not None]
p_cmd = ["-c", "fetch.prune=false"] + [arg for arg in cmd if arg is not None]
p_cmd.insert(0, self.__class__.git)

p = e3.os.process.Run(p_cmd, cwd=self.working_tree, output=output, **kwargs)
Expand Down

0 comments on commit 86972f6

Please sign in to comment.