Jeff Smith <whydoubt@xxxxxxxxx> writes: > Either prepare_initial or prepare_final is used to determine which > commit is marked as 'final'. Call the underlying methods directly to > make this more clear. > > Signed-off-by: Jeff Smith <whydoubt@xxxxxxxxx> > --- > builtin/blame.c | 49 +++++++++++++++++++++++-------------------------- > 1 file changed, 23 insertions(+), 26 deletions(-) I do not necessarily agree with the log message in that this change makes the contrast between prepare_{initial,final} more clear, but I like it nevertheless because it makes the interface into the helpers that prepare "initial" and "final" very similar. The lifetime rule of final_commit_name used to be that these helpers make a copy to be owned by the caller, and it seems that this change makes all codepaths borrow it from entries in the revs.pending list. I think that conversion is also done correctly in this patch. So far, nicely done.