"help":"path filter to pass to git range-diff. Can be given multiple times",
"metavar":"<path>",
"action":"append",
"default":[],
},
"gitargs":{
"help":"additional argument to pass to git range-diff",
"metavar":"-- git-range-diff-arg",
"nargs":"*",
},
},
},
"branch-diff-diff":{
"diff-diff":{
"func":show_diff_diff,
"args":{
"branch1":{
"--keep-context":{
"help":"keep the git context lines as they are, otherwise they are trivialised to reduce differences. You may want to use this if your diff tool, like meld, can filter out these lines from the diff without erasing them",
"action":"store_true",
},
"ref1":{
"help":"the first branch to compare",
"metavar":"<branch-1>",
"completer":branch_complete,
"metavar":"<ref-1>",
"completer":ref_complete,
},
"branch2":{
"ref2":{
"help":"the second branch to compare",
"metavar":"<branch-2>",
"completer":branch_complete,
"metavar":"<ref-2>",
"completer":ref_complete,
},
"--path":{
"help":"path filter to pass to git diff. Can be given multiple times",