get_detailed_diff_analysis
Analyze detailed differences between a working directory and a specific Git commit. Provides file-by-file changes, insertion/deletion counts, change types, and optional diff content for precise version control tracking.
Instructions
Get detailed diff analysis between working directory and specified commit.
Uses GitPython to provide:
- File-by-file change analysis
- Line-level insertion/deletion counts
- Change type classification (added, modified, deleted, renamed)
- Binary file detection
- Optional diff content inclusion
Args: repo_path: Path to git repository compare_with: Commit/branch to compare with (default: HEAD) include_content: Whether to include actual diff content
Returns: Dict containing detailed diff analysis
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compare_with | No | HEAD | |
include_content | No | ||
repo_path | Yes |