git_history
Analyze git history to attribute file changes per line, identify most-changed files, or discover files that frequently change together.
Instructions
Analyze git history: blame, churn, or change coupling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "blame" (per-line attribution), "churn" (most-changed files), or "coupling" (files that change together) | blame |
| since | No | date filter for churn (e.g., "6 months ago") | |
| top_n | No | max results for churn/coupling (default 20) | |
| file_path | No | required for blame, optional filter for coupling | |
| min_commits | No | minimum co-change count for coupling (default 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |