# git_ui: Add option to jump to project file from commit \(\#55088\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f88ab1bb47d83b391acff32f86f2309a882be7ca

Requested commit: f88ab1bb47d83b391acff32f86f2309a882be7ca

Commit: f88ab1bb47d83b391acff32f86f2309a882be7ca

Tree: d55e43b7f4be5bf770983e17e22fdd39a5c642e8

Author: Neel

Committer: GitHub

## Message

```
git_ui: Add option to jump to project file from commit (#55088)

Using the `Open File` action from a file in commit context takes you to
a read-only snapshot of the file at the point in time of the commit.
This change makes it so you navigate to the current working copy of the
file, if one exists. This has similar semantics to copy file reference.

For a file that still exists at HEAD:
<img width="715" height="469" alt="image"
src="https://github.com/user-attachments/assets/e217e0be-b549-46fa-9d1b-eba92728fa4a"
/>

For a file that no longer exists:
<img width="438" height="271" alt="image"
src="https://github.com/user-attachments/assets/ac87465b-971b-4413-8bf3-71e49a71bdea"
/>

Release Notes:

- Add affordance to jump to project file from commit view
```

## Parents

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

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