# Git improvements \(\#24238\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0963401a8d0e7afed461090cb57be8047e1f79c5

Requested commit: 0963401a8d0e7afed461090cb57be8047e1f79c5

Commit: 0963401a8d0e7afed461090cb57be8047e1f79c5

Tree: c1a737d6e0d2ab9475e5b97806e29684b3931853

Author: Conrad Irwin

Committer: GitHub

## Message

```
Git improvements (#24238)

- **Base diffs on uncommitted changes**
- **Show added files in project diff view**
- **Fix git panel optimism**

Release Notes:

- Git: update diffs to be relative to HEAD instead of the index; to pave
the way for showing which hunks are staged

---------

Co-authored-by: Cole <cole@zed.dev>
```

## Parents

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

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