Skip to content

Commit

Permalink
fix(backend): always import bare repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed May 2, 2023
1 parent 72d793e commit 6d9fc69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/backend/sqlite/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ func (d *SqliteBackend) ImportRepository(name string, remote string, opts backen
repo := name + ".git"
rp := filepath.Join(d.reposPath(), repo)

// TODO: use HTTP(s) or GIT clones
copts := git.CloneOptions{
Bare: true,
Mirror: opts.Mirror,
Quiet: true,
CommandOptions: git.CommandOptions{
Expand Down

0 comments on commit 6d9fc69

Please sign in to comment.