sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

.gitconfig Conditional Includes Failing - Possibly Due To Use Of Wildcard

Open Sn3akyP3t3 opened this issue 3 months ago • 1 comments

Version info

  • OS: Windows 10
  • Build: 2102

Description

The author and email observed in Git Bash and Sublime Merge do not match when using the Conditional Includes feature of GIT in .gitconfig.

Steps to reproduce

In .gitconfig

[includeIf "gitdir:D:/SomeFolder/**"]
  path = C:/Users/Me/.work/.gitconfig

.work/.gitconfig

[user]
    name = Earth 'Worm' Jim 
    email = [MY WORK EMAIL]

From GitBash at location of [D:/SomeFolder/SomeProject] output of git config --list

includeif.gitdir:D:/SomeFolder/**.path=C:/Users/Me/.work/.gitconfig
user.name=Earth 'Worm' Jim
user.email=[MY WORK EMAIL]

Expected behavior

The author and email observed in Git Bash and Sublime Merge should match.

Sn3akyP3t3 avatar Nov 17 '24 19:11 Sn3akyP3t3