Merge branch 'rs/history-ergonomics-updates-fix' into jch

* rs/history-ergonomics-updates-fix:
  history: initialize rev_info in cmd_history_reword()
This commit is contained in:
Junio C Hamano
2026-03-09 14:40:57 -07:00

View File

@@ -425,7 +425,7 @@ static int cmd_history_reword(int argc,
};
struct strbuf reflog_msg = STRBUF_INIT;
struct commit *original, *rewritten;
struct rev_info revs;
struct rev_info revs = { 0 };
int ret;
argc = parse_options(argc, argv, prefix, options, usage, 0);