Skip to content

git: Add possibility to open specific line in a diff using the CLI - #45499

Merged
cole-miller merged 3 commits into
zed-industries:mainfrom
cs50victor:feat/diff-line-position
Jul 18, 2026
Merged

git: Add possibility to open specific line in a diff using the CLI#45499
cole-miller merged 3 commits into
zed-industries:mainfrom
cs50victor:feat/diff-line-position

Conversation

@cs50victor

@cs50victor cs50victor commented Dec 21, 2025

Copy link
Copy Markdown
Contributor

this pr enables opening a specific line in a diff using zed's cli

Release Notes:

  • refactor: add possibility to open specific line in a diff using the cli

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Dec 21, 2025
@cs50victor cs50victor changed the title feat: open specific line in diff git: open specific line in diff Dec 21, 2025
@cs50victor cs50victor changed the title git: open specific line in diff git: open specific line in diff using cli Dec 21, 2025
@cs50victor cs50victor changed the title git: open specific line in diff using cli git: open to specific line in a diff using the cli Dec 21, 2025
@MrSubidubi MrSubidubi changed the title git: open to specific line in a diff using the cli git: Add possibility to open specific line in a diff using the CLI Dec 21, 2025
@cs50victor

Copy link
Copy Markdown
Contributor Author

Warnings
⚠️

This PR is missing release notes.

Please add a "Release Notes" section that describes the change:

Release Notes:

- Added/Fixed/Improved ...

If your change is not user-facing, you can use "N/A" for the entry:

Release Notes:

- N/A

Generated by 🚫 dangerJS against 1704696

Resolved this issue mentioned in this comment

@cs50victor

Copy link
Copy Markdown
Contributor Author

hey @cole-miller , is this PR out of scope?

@cole-miller

Copy link
Copy Markdown
Member

Hi @cs50victor, sorry for the delay, there was a company-wide break for the last two weeks. Is there prior art for this feature in other tools? I noticed that VS Code doesn't have it.

@cs50victor

Copy link
Copy Markdown
Contributor Author

I haven't compared against other IDEs. I was writing a script using the zed cli and would have loved this feature.

@SomeoneToIgnore SomeoneToIgnore added the area:integrations/git Git integration feedback label Apr 28, 2026
@cole-miller

Copy link
Copy Markdown
Member

Thanks!

@cole-miller
cole-miller enabled auto-merge July 18, 2026 19:46
@cole-miller

Copy link
Copy Markdown
Member

@zed-industries/approved

@cole-miller
cole-miller added this pull request to the merge queue Jul 18, 2026
Merged via the queue into zed-industries:main with commit 80a1add Jul 18, 2026
34 checks passed
@cs50victor
cs50victor deleted the feat/diff-line-position branch July 19, 2026 10:04
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…ed-industries#45499)

this pr enables opening a specific line in a diff using zed's cli

Release Notes:
- refactor: add possibility to open specific line in a diff using the
cli

---------

Co-authored-by: Cole Miller <cole@zed.dev>
playdohface pushed a commit to playdohface/zed that referenced this pull request Aug 29, 2026
…ed-industries#45499)

this pr enables opening a specific line in a diff using zed's cli

Release Notes:
- refactor: add possibility to open specific line in a diff using the
cli

---------

Co-authored-by: Cole Miller <cole@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:integrations/git Git integration feedback cla-signed The user has signed the Contributor License Agreement

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants