Re: [PATCH v10 2/3] interpret-trailers: add own-identity option
- From
ZheNing Hu <adlternative@gmail.com>
- Date
- Mar 20, 2021, 06:38 UTC
- Message-ID
- <CAOLTT8T54RHPm8P=mJ3vOKZPEwpJQgnbeU3VqczWbPSk36wZcA@mail.gmail.com>
- In-Reply-To
- <CAOLTT8RE6LOx2AUH8PJMzFdqp4_GJkiY41K0xE1YiSQNixKCRA@mail.gmail.com>
In actually ,
@@ -1071,6 +1071,7 @@ static const char *find_author_by_nickname(const char *name) strbuf_release(&buf); format_commit_message(commit, "%aN <%aE>", &buf, &ctx); clear_mailmap(&mailmap); + reset_revision_walk(); return strbuf_detach(&buf, NULL); } then we can reuse this function. But I think I can give find_author_by_nickname another arg for choice if we want `reset_revision_walk()`. Thanks, Junio and Jeff.