# Fix GitHub commit permalinks \(\#9961\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a4b55b9924f9d45fd9012d0f2d408cd7c6e8addd

Requested commit: a4b55b9924f9d45fd9012d0f2d408cd7c6e8addd

Commit: a4b55b9924f9d45fd9012d0f2d408cd7c6e8addd

Tree: ca13a0f41bb5674a91e4c9a464acd7f5b9767c88

Author: Marshall Bowers

Committer: GitHub

## Message

````
Fix GitHub commit permalinks (#9961)

This PR fixes an issue where GitHub commit permalinks were being
constructed with the wrong URL segment.

This would result in clicking on a commit from the Git blame view taking
you to the wrong page on GitHub.

### Before

```
https://github.com/zed-industries/zed/commits/a3d985028ccce085e4f5a06694835cd9b3296dba
```

<img width="1654" alt="Screenshot 2024-03-29 at 12 59 51 PM"
src="https://github.com/zed-industries/zed/assets/1486634/122fd678-de56-42cb-a0c5-1ce1b9b104b5">

### After

```
https://github.com/zed-industries/zed/commit/a3d985028ccce085e4f5a06694835cd9b3296dba
```

<img width="1654" alt="Screenshot 2024-03-29 at 12 59 56 PM"
src="https://github.com/zed-industries/zed/assets/1486634/1c92b2ef-7925-46bc-aebf-b739be1eae74">

Release Notes:

- N/A
````

## Parents

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

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