# Changes to make \`ep split-commits\` work \(\#46160\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 92b0f144c0bc3d549db8817fb92b767173740093

Requested commit: 92b0f144c0bc3d549db8817fb92b767173740093

Commit: 92b0f144c0bc3d549db8817fb92b767173740093

Tree: e80ba20eec286bb4d9300fcb6e318a1498d6c6db

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
Changes to make `ep split-commits` work (#46160)

1. `apply_diff` will create a file if the diff says so (by starting with
`--- /dev/null`)
2. Update examples format to match recent changes
3. `ep split-commits` can work with a stream of inputs and generate `n`
samples per input
4. Unicode handling fixes

Release Notes:

- N/A
```

## Parents

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

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