Skip to content

Commit

Permalink
git: remove --bare flag from git commands
Browse files Browse the repository at this point in the history
This causes some issues (e.g., #5700) and is not actively needed.
  • Loading branch information
bsdinis committed Feb 16, 2025
1 parent ed02051 commit b64ad68
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/src/git_subprocess.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ impl<'a> GitSubprocessContext<'a> {
// root to Command::current_dir and then pass a relative path to the git
// dir
git_cmd
.arg("--bare")
.arg("--git-dir")
.arg(&self.git_dir)
// Disable translation and other locale-dependent behavior so we can
Expand Down

0 comments on commit b64ad68

Please sign in to comment.