Skip to content

ep: Add more options to control split point - #58943

Merged
osyvokon merged 2 commits into
mainfrom
ep-split-commit-kind
Jun 9, 2026
Merged

ep: Add more options to control split point#58943
osyvokon merged 2 commits into
mainfrom
ep-split-commit-kind

Conversation

@osyvokon

@osyvokon osyvokon commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

The ep split-commit --split-point argument now accepts split point kinds:

  • fim -- next edit is right under the cursor.
  • same-file-near -- next edit is close to the cursor.
  • same-file-far -- next edit is more than 30-lines away from cursor.
  • cross-file -- next edit is in another file.

This lets us create datasets partitioned by kind more efficiently compared to filtering them after the fact.

Release Notes:

  • N/A

osyvokon added 2 commits June 9, 2026 13:38
The `ep split-commit --split-point` argument now accepts split point kinds:

* fim -- next edit is right under the cursor.
* same-file-near -- next edit is close to the cursor.
* same-file-far -- next edit is more than 30-lines away from cursor.
* cross-file -- next edit is in another file.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 9, 2026
@osyvokon
osyvokon requested a review from probably-neb June 9, 2026 16:09
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 9, 2026
@osyvokon
osyvokon enabled auto-merge June 9, 2026 16:11
@osyvokon
osyvokon added this pull request to the merge queue Jun 9, 2026
Merged via the queue into main with commit 30d9053 Jun 9, 2026
43 checks passed
@osyvokon
osyvokon deleted the ep-split-commit-kind branch June 9, 2026 16:22
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
The `ep split-commit --split-point` argument now accepts split point
kinds:

* fim -- next edit is right under the cursor.
* same-file-near -- next edit is close to the cursor.
* same-file-far -- next edit is more than 30-lines away from cursor.
* cross-file -- next edit is in another file.

This lets us create datasets partitioned by kind more efficiently
compared to filtering them after the fact.

Release Notes:

- N/A
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
The `ep split-commit --split-point` argument now accepts split point
kinds:

* fim -- next edit is right under the cursor.
* same-file-near -- next edit is close to the cursor.
* same-file-far -- next edit is more than 30-lines away from cursor.
* cross-file -- next edit is in another file.

This lets us create datasets partitioned by kind more efficiently
compared to filtering them after the fact.

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants