git_ui: Add option to jump to project file from commit - #55088
Merged
Conversation
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.
maxbrunsfeld
approved these changes
Apr 29, 2026
ebaah46
pushed a commit
to ebaah46/zed
that referenced
this pull request
May 6, 2026
…s#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
This was referenced May 13, 2026
jonx
pushed a commit
to jonx/zed-aros
that referenced
this pull request
Jul 17, 2026
…s#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
jolutz
pushed a commit
to jolutz/zed
that referenced
this pull request
Aug 8, 2026
…s#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using the
Open Fileaction 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:

For a file that no longer exists:

Release Notes: