aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorThinkChaos <ThinkChaos@users.noreply.github.com>2023-05-31 11:54:26 -0400
committerThinkChaos <ThinkChaos@users.noreply.github.com>2023-09-15 12:44:52 -0400
commit644929ade3ac7c07c370be8065fa2ac6faf081be (patch)
treebf76313751ced493b4c298725d6eeaf567c05872 /options.go
parent1ad7d8dd024abca82779e2dfdff69d9712161ab8 (diff)
downloadgo-git-644929ade3ac7c07c370be8065fa2ac6faf081be.tar.gz
git: allow using `InitOptions` with `PlainInitWithOptions`
Diffstat (limited to 'options.go')
-rw-r--r--options.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.go b/options.go
index 00d9b97..c68bf2b 100644
--- a/options.go
+++ b/options.go
@@ -737,6 +737,7 @@ type PlainOpenOptions struct {
func (o *PlainOpenOptions) Validate() error { return nil }
type PlainInitOptions struct {
+ InitOptions
// Determines if the repository will have a worktree (non-bare) or not (bare).
Bare bool
ObjectFormat formatcfg.ObjectFormat