Error codes · Git
PULSE-GIT-009 Setting up git runs an external program
What does this mean
There is a setting in the git configuration on that machine or repository that runs the program: compare driver, filter, merge driver, password program. Git of the Pulse window itself does not launch such programs, so the action is not completed. Your files and commits are intact.
Why does this happen
Pulse performs git for you in the background: shows status, creates working copies of tasks, clones. If the programs from the configuration were triggered, the agent or someone else's repository could insert its program into .git/config, and Pulse would launch it without your action. Therefore, the Pulse window checks the configuration before each command.
Frequent settings that do not interfere in themselves: core.pager = delta, interactive.diffFilter = delta --color-only
(they are installed by git-delta), diff.external = difft in ~/.gitconfig (this is how difftastic is installed - Pulse compares the files itself and does not launch it), diff.tool, credential helpers, hooks, standard Git LFS filters - Pulse works with them. Refusal is caused by, for example, diff.<name>.textconv, merge.<name>.driver, filter.<name>.clean outside of Git LFS,
core.askpass, and also diff.external in .git/config repository.
What to do
- Look in the card to see which setting is in which file: global
~/.gitconfig, system config or.git/configrepository. - Setting in
~/.gitconfigor system config - you installed it. Needed - perform the action in the terminal: there git runs your programs as usual. Not needed -git config --global --unset <name>and repeat the action in Pulse. - Setting in
.git/configrepository - it could have been brought with someone else’s repository or recorded by an agent. If you didn't install it, don't run git on this repository from the terminal — the program from the settings will be executed. Remove it: open.git/configin the editor and delete the line, orgit config --unset <name>in the repository folder (this command does not launch programs) - and repeat the action in Pulse.
When to write to support
Write to us if you don’t have the settings in the card (git config --show-origin --get-regexp <name> does not output anything), but Pulse still fails. Click “Send report” in the error card - the code and details will already be entered, the secrets are hidden in them, the value of the Pulse setting is not included in the report.