diff_with_ref
Compare code changes between HEAD and a specified reference branch to analyze differences in a project. Ideal for reviewing PRs or tracking updates in development workflows.
Instructions
Return a summary of the diff between HEAD and the given ref.
You probably want the ref to be the 'base' branch like develop or main, off which PRs are made - and you can likely determine this by viewing the most recently checked out branches.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
project_name | Yes | ||
ref | Yes |
Input Schema (JSON Schema)
{
"properties": {
"project_name": {
"title": "Project Name",
"type": "string"
},
"ref": {
"maxLength": 100,
"title": "Ref",
"type": "string"
}
},
"required": [
"project_name",
"ref"
],
"title": "diff_with_refArguments",
"type": "object"
}