Skip to main content

git_diff_tool

Function git_diff_tool 

Source
pub fn git_diff_tool() -> ToolDef
Expand description

Create the git_diff tool.

  • staged: false (default) → working tree vs index
  • staged: true → index vs HEAD
  • file → diff a single file