go-git icon indicating copy to clipboard operation
go-git copied to clipboard

Conditional configurations are not loaded properly

Open moorara opened this issue 3 years ago • 1 comments

It seems the following syntax is not supported by the library:

[includeIf "gitdir:~/src/github.com/octocat/"]
  path = .gitconfig-octocat

This is an issue when you are creating a commit or tag and not specifying the author and committer. This leads to the new commit or tag being created with wrong email address.

moorara avatar Oct 07 '21 16:10 moorara

I'm also having the same issue.

reegnz avatar Mar 30 '22 14:03 reegnz

To help us keep things tidy and focus on the active tasks, we've introduced a stale bot to spot issues/PRs that haven't had any activity in a while.

This particular issue hasn't had any updates or activity in the past 90 days, so it's been labeled as 'stale'. If it remains inactive for the next 30 days, it'll be automatically closed.

We understand everyone's busy, but if this issue is still important to you, please feel free to add a comment or make an update to keep it active.

Thanks for your understanding and cooperation!

github-actions[bot] avatar Apr 10 '24 07:04 github-actions[bot]

I'm still experiencing the issue, go-git should be compatible with gitconfig.

reegnz avatar Apr 11 '24 11:04 reegnz

I think this one is probably a duplicate of #110

reegnz avatar Apr 11 '24 11:04 reegnz

Nice shout @reegnz. Closing this in favour of #110.

pjbgf avatar Apr 11 '24 12:04 pjbgf