# ep: Add more options to control split point \(\#58943\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 30d9053e186863343023173a69e1552ebf685d32

Requested commit: 30d9053e186863343023173a69e1552ebf685d32

Commit: 30d9053e186863343023173a69e1552ebf685d32

Tree: 92da315a1d23e23bbd1154f82e309b23e996888f

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
ep: Add more options to control split point (#58943)

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
```

## Parents

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

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