get_path_history
Trace when a file or directory was modified or refactored by listing commits up to a ref, returning SHA, author, date, and headline.
Instructions
Lists commits modifying a specific file or directory up to a ref. Use to trace when a path was touched or refactored. Returns commit SHA, author, date, and headline. Capped at 100 commits (default 20). Narrow with since, until, or limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA (default: default branch / HEAD). | |
| path | Yes | File or directory path inside repository. | |
| repo | Yes | Repository name. | |
| limit | No | Maximum commits to return (1-100, default: 20). | |
| owner | Yes | Repository owner (organization or user). | |
| since | No | Optional ISO 8601 timestamp to filter commits after. | |
| until | No | Optional ISO 8601 timestamp to filter commits before. |