diff options
author | Paulo Gomes <pjbgf@linux.com> | 2023-09-15 17:56:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 17:56:55 +0100 |
commit | c208b4d513d0e9537f2160cb6d33609c4aa01795 (patch) | |
tree | bf76313751ced493b4c298725d6eeaf567c05872 /options.go | |
parent | e24e0f714c4ecaf086b5783f099a885e6a2c9a1a (diff) | |
parent | 644929ade3ac7c07c370be8065fa2ac6faf081be (diff) | |
download | go-git-c208b4d513d0e9537f2160cb6d33609c4aa01795.tar.gz |
Merge pull request #782 from ThinkChaos/feat/plain-init-branch
git: add PlainInitOptions.Bare and allow using InitOptions with PlainInitWithOptions
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -737,6 +737,9 @@ 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 } |