Skip to content

Commit

Permalink
Merge branch 'jc/maint-1.6.0-blame-s' into maint
Browse files Browse the repository at this point in the history
* jc/maint-1.6.0-blame-s:
  blame: read custom grafts given by -S before calling setup_revisions()

Conflicts:
	builtin-blame.c
  • Loading branch information
Junio C Hamano committed Apr 2, 2009
2 parents cb365a7 + aa9ea77 commit 5ab2f7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions builtin-blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -2263,6 +2263,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;

Expand Down Expand Up @@ -2404,10 +2408,6 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
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, NULL);

if (!incremental)
Expand Down

0 comments on commit 5ab2f7b

Please sign in to comment.