Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- [Concern](./triagebot/concern.md)
- [Documentation Updates](./triagebot/doc-updates.md)
- [GitHub Releases](./triagebot/github-releases.md)
- [Git rebase (range) diff](./triagebot/range-diff.md)
- [Issue Links](./triagebot/issue-links.md)
- [Issue Transfer](./triagebot/transfer.md)
- [Labeling](./triagebot/labeling.md)
Expand Down
15 changes: 15 additions & 0 deletions src/triagebot/range-diff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Git rebase (range) diff

GitHub native compare feature shows lots of unrelated changes when a force push changes the base commit of a PR. This handler post a comment after such scenario which links to triagebot `range-diff` feature.

## Configuration

This feature is enabled on a repository by having a empty `[range-diff]` table in `triagebot.toml`:

```toml
[range-diff]
```

## Implementation

See [`src/handlers/check_commits/range_diff.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/check_commits/force_push_range_diff.rs).