Merge branch 'pb/blame-funcname-range-userdiff'
"git blame -L :funcname -- path" did not work well for a path for which a userdiff driver is defined. * pb/blame-funcname-range-userdiff: blame: simplify 'setup_blame_bloom_data' interface blame: simplify 'setup_scoreboard' interface blame: enable funcname blaming with userdiff driver line-log: mention both modes in 'blame' and 'log' short help doc: add more pointers to gitattributes(5) for userdiff blame-options.txt: also mention 'funcname' in '-L' description doc: line-range: improve formatting doc: log, gitk: move '-L' description to 'line-range-options.txt'
This commit is contained in:
@ -183,8 +183,8 @@ static void cmd_log_init_finish(int argc, const char **argv, const char *prefix,
|
||||
N_("pattern"), N_("do not decorate refs that match <pattern>")),
|
||||
OPT_CALLBACK_F(0, "decorate", NULL, NULL, N_("decorate options"),
|
||||
PARSE_OPT_OPTARG, decorate_callback),
|
||||
OPT_CALLBACK('L', NULL, &line_cb, "n,m:file",
|
||||
N_("Process line range n,m in file, counting from 1"),
|
||||
OPT_CALLBACK('L', NULL, &line_cb, "range:file",
|
||||
N_("Trace the evolution of line range <start>,<end> or function :<funcname> in <file>"),
|
||||
log_line_range_callback),
|
||||
OPT_END()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user