Skip to content

Gitui considers my repository bare, despite the fact that it is not. #1629

@Icantjuddle

Description

@Icantjuddle

Describe the bug
gitui bails telling me my repo is bare despite the fact that it is not.

To Reproduce
gitui in my git repo.

Expected behavior
Starts up as expected.

Screenshots

❯ git config --get core.bare
false
❯ gitui
Error: invalid path
please run gitui inside of a non-bare git repository

Software version

gitui 0.22.1

Operating system

Linux 5.8.0-59-generic

Compile time information

  • Profile: release
  • Target triple: x86_64-unknown-linux-gnu
  • Family: unix
  • OS: linux
  • Architecture: x86_64
  • Pointer width: 64
  • Endian: little
  • CPU features: fxsr,sse,sse2
  • Host: x86_64-unknown-linux-gnu

Environment variables

SHELL=/bin/zsh
EDITOR=kak
GIT_EDITOR=<not set>
VISUAL=kak

Command-line

gitui --bugreport 'considers this a bare repo'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions