Sublime Forum

Commit message input box showing wrong username with conditional config

#1

If you have conditional config with default and per-url names, then the commit itself reflects that, but an empty commit message box shows the global fallback, which is a bit confusing as you’re not certain the conditional config is working

[user]
  name    = "fallback"
  email   = "fallback@email.com"
[includeIf "hasconfig:remote.*.url:git@github.com/personal/**"]
  path     = "~/.git-personal"

that ~/.git-personal file has:

  name  = "personal"
  email = "personal@email.com"

(this is on Windows v2123)
and 2110 had

  • Windows: Fixed includeIf config values being ignored

apparently not all values got fixed and not everywhere

0 Likes

#2

These are related


What annoys me most is that it is not respected when editing a previous commit message.

(Edit: Hm, for an empty commit message box as you describe it it seems to work for me at least)

1 Like

#3

What annoys me most is that it is not respected when editing a previous commit message.

This is way worse than the display issue! Such a sneaky move :frowning:

0 Likes