Skip to content

On commit not finding use.name nor user.email #41

@vladox

Description

@vladox

Whenever I try to run the code to do a commit I get the following back from the run_command function:

/usr/bin/git commit -av -m 'sort(page): home by somebody'

*** Please tell me who you are.

Run

  git config --global user.email "you@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.

I checked the path to the repo in $cwd is correct and running " git config --global user.email/user.name" and " git config user.email/user.name" return correct values.
Also it's strange that in the commit message says "sort" since I did an update (saved the page).

The environment variables are these:

PATH=/usr/bin:/bin:/usr/sbin:/sbin, XPC_SERVICE_NAME=0, XPC_FLAGS=0x80, XPC_SERVICES_UNAVAILABLE=1

I've run out of ideas but seems like "proc_open" is losing completely the context.
Have you experienced something similar? Do you have any debugging hints or an idea how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions