diff options
author | ThinkChaos <ThinkChaos@users.noreply.github.com> | 2023-05-31 11:54:26 -0400 |
---|---|---|
committer | ThinkChaos <ThinkChaos@users.noreply.github.com> | 2023-09-15 12:44:52 -0400 |
commit | 644929ade3ac7c07c370be8065fa2ac6faf081be (patch) | |
tree | bf76313751ced493b4c298725d6eeaf567c05872 /options.go | |
parent | 1ad7d8dd024abca82779e2dfdff69d9712161ab8 (diff) | |
download | go-git-644929ade3ac7c07c370be8065fa2ac6faf081be.tar.gz |
git: allow using `InitOptions` with `PlainInitWithOptions`
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |