[Webkit-unassigned] [Bug 249623] New: [git-webkit] Ignores global git configuration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 19 17:23:53 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249623

            Bug ID: 249623
           Summary: [git-webkit] Ignores global git configuration
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: jbedard at apple.com

This was really confusing:

$ git-webkit cherry-pick 256486 at main 
Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you at example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'mcatanzaro at chargestone-cave.(none)')

But I already had configured them:

$ git config user.email
mcatanzaro at redhat.com
$ git config user.name
Michael Catanzaro

Problem is, git-webkit is somehow looking only at the *local* config, and is ignoring the global config. I had global config only and no local config. To fix it, I did this:

$ git config user.email mcatanzaro at redhat.com
$ git config user.name Michael Catanzaro

That worked, but it's redundant and shouldn't be needed unless there is some strong reason for ignoring the global config.

I also needed to copy my editor config as well:

$ git config core.editor vim

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221220/69c50be7/attachment.htm>


More information about the webkit-unassigned mailing list