Skip to content

Commit 3fcee25

Browse files
committed
Merge branch 'jc/maint-1.6.0-blame-s'
* jc/maint-1.6.0-blame-s: blame: read custom grafts given by -S before calling setup_revisions() Conflicts: builtin-blame.c
2 parents 6422c6a + aa9ea77 commit 3fcee25

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

builtin-blame.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,6 +2250,10 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
22502250
parse_done:
22512251
argc = parse_options_end(&ctx);
22522252

2253+
if (revs_file && read_ancestry(revs_file))
2254+
die("reading graft file %s failed: %s",
2255+
revs_file, strerror(errno));
2256+
22532257
if (cmd_is_annotate) {
22542258
output_option |= OUTPUT_ANNOTATE_COMPAT;
22552259
blame_date_mode = DATE_ISO8601;
@@ -2418,10 +2422,6 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
24182422
sb.ent = ent;
24192423
sb.path = path;
24202424

2421-
if (revs_file && read_ancestry(revs_file))
2422-
die("reading graft file %s failed: %s",
2423-
revs_file, strerror(errno));
2424-
24252425
read_mailmap(&mailmap, NULL);
24262426

24272427
if (!incremental)

0 commit comments

Comments
 (0)