# Rework git toasts \(\#26420\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2b94a35aaabc630ce6d89394085efb38935c58e8

Requested commit: 2b94a35aaabc630ce6d89394085efb38935c58e8

Commit: 2b94a35aaabc630ce6d89394085efb38935c58e8

Tree: 75e0df6d58cd9dff9c34904c94f85dbfed7a3a2a

Author: Julia Ryan

Committer: GitHub

## Message

```
Rework git toasts (#26420)

The notifications from git output could take up variable amounts of
screen space, and they were quite obnoxious when a git command printed
lots of output, such as fetching many new branches or verbose push
hooks.

This change makes the push/pull/fetch buttons trigger a small
notification toast, based on the output of the command that was ran. For
errors or commands with more output the user may want to see, there's an
"Open Log" button which opens a new buffer with the output of that
command.

It also uses this behavior for long error notifications for other git
commands like `commit` and `checkout`. The output of those commands can
be quite long due to arbitrary githooks running.

Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
```

## Parents

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

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