Browse Source

Merge branch 'jc/maint-1.6.0-blame-s' into maint

* jc/maint-1.6.0-blame-s:
  blame: read custom grafts given by -S before calling setup_revisions()

Conflicts:
	builtin-blame.c
maint
Junio C Hamano 16 years ago
parent
commit
5ab2f7b2ce
  1. 8
      builtin-blame.c

8
builtin-blame.c

@ -2263,6 +2263,10 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
parse_done: parse_done:
argc = parse_options_end(&ctx); 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) if (cmd_is_annotate)
output_option |= OUTPUT_ANNOTATE_COMPAT; output_option |= OUTPUT_ANNOTATE_COMPAT;


@ -2404,10 +2408,6 @@ parse_done:
sb.ent = ent; sb.ent = ent;
sb.path = path; sb.path = path;


if (revs_file && read_ancestry(revs_file))
die("reading graft file %s failed: %s",
revs_file, strerror(errno));

read_mailmap(&mailmap, NULL); read_mailmap(&mailmap, NULL);


if (!incremental) if (!incremental)

Loading…
Cancel
Save