Skip to content

Cannot load git config from non-standard paths when installed from snap #1277

Closed as not planned
@ms-boom

Description

@ms-boom

Duplicates

  • I have searched the existing issues

Current behavior 😯

If .gitconfig contains includeIf option

[includeIf "gitdir:~/projects/"]
path = .gitconfig-projects

then onefetch fails on start with error:

$ onefetch 
Error: Failed to load the git configuration

Caused by:
    Permission denied (os error 13)

Expected behavior 🤔

No response

Steps to reproduce 🕹

  1. add some option "includeIf" in ~/.gitconfig
  2. run onefetch

Additional context/Screenshots 🔦

No response

Possible Solution 💡

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions