Skip to content

Commit bb11eb3

Browse files
committed
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
2 parents 1c9f544 + aa9ea77 commit bb11eb3

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
@@ -2251,6 +2251,10 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
22512251
parse_done:
22522252
argc = parse_options_end(&ctx);
22532253

2254+
if (revs_file && read_ancestry(revs_file))
2255+
die("reading graft file %s failed: %s",
2256+
revs_file, strerror(errno));
2257+
22542258
if (cmd_is_annotate)
22552259
output_option |= OUTPUT_ANNOTATE_COMPAT;
22562260

@@ -2392,10 +2396,6 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
23922396
sb.ent = ent;
23932397
sb.path = path;
23942398

2395-
if (revs_file && read_ancestry(revs_file))
2396-
die("reading graft file %s failed: %s",
2397-
revs_file, strerror(errno));
2398-
23992399
read_mailmap(&mailmap, ".mailmap", NULL);
24002400

24012401
if (!incremental)

0 commit comments

Comments
 (0)