# Git on main thread \(\#26573\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/7bca15704b719996ba79df70678bcfac158d4a12)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 7bca15704b719996ba79df70678bcfac158d4a12

Requested commit: 7bca15704b719996ba79df70678bcfac158d4a12

Commit: 7bca15704b719996ba79df70678bcfac158d4a12

Tree: fbfbc4504bfd7bf43207b105640ecfb98f44e563

Author: Conrad Irwin

Committer: GitHub

## Message

```
Git on main thread (#26573)

This moves spawning of the git subprocess to the main thread. We're not
yet
sure why, but when we spawn a process using GCD's background queues,
sub-processes like git-credential-manager fail to open windows.

This seems to be fixable either by using the main thread, or by using a
standard background thread,
but for now we use the main thread.


Release Notes:

- Git: Fix git-credential-manager

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
```

## Parents

- [5268e7431513b5fdcb5e65272d11db1aee683361](https://git.cafe/gitcafe/zed/commit/5268e7431513b5fdcb5e65272d11db1aee683361?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/7bca15704b719996ba79df70678bcfac158d4a12?format=markdown)
