зеркало из https://github.com/microsoft/git.git
Merge branch 'jc/maint-1.6.0-blame-s' into maint-1.6.1
* jc/maint-1.6.0-blame-s: blame: read custom grafts given by -S before calling setup_revisions() Conflicts: builtin-blame.c
This commit is contained in:
Коммит
bb11eb31a2
|
@ -2251,6 +2251,10 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
|
|||
parse_done:
|
||||
argc = parse_options_end(&ctx);
|
||||
|
||||
if (revs_file && read_ancestry(revs_file))
|
||||
die("reading graft file %s failed: %s",
|
||||
revs_file, strerror(errno));
|
||||
|
||||
if (cmd_is_annotate)
|
||||
output_option |= OUTPUT_ANNOTATE_COMPAT;
|
||||
|
||||
|
@ -2392,10 +2396,6 @@ parse_done:
|
|||
sb.ent = ent;
|
||||
sb.path = path;
|
||||
|
||||
if (revs_file && read_ancestry(revs_file))
|
||||
die("reading graft file %s failed: %s",
|
||||
revs_file, strerror(errno));
|
||||
|
||||
read_mailmap(&mailmap, ".mailmap", NULL);
|
||||
|
||||
if (!incremental)
|
||||
|
|
Загрузка…
Ссылка в новой задаче