1

How can I pass git blame options such as -C to git gui blame? Merely typing

git gui blame -C somefile

results in

error: unknown switch `-C'

usage: git cat-file ...

Community
  • 1
  • 1
xuhdev
  • 8,018
  • 2
  • 41
  • 69

1 Answers1

1

I see the --line=x option is supported for git gui blame, but other git blame options seem not to be included.

See git-gui/git-gui.sh

if {$subcommand eq "blame"} {
    set subcommand_args {[--line=<num>] rev? path}
} else {
    set subcommand_args {rev? path}
}
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250