From: Konstantin Kharlamov Date: Mon, 17 Apr 2023 10:07:25 GMT Subject: What hook is called after `git rebase --abort`? Message-ID: <0d8c0c2c6f9348a2afea3992f589ab52db5bb434.camel@yandex.ru> As title says. The usecase is typical: there's the infamous issue of dangling git-submodule changes appearing in various operations, leading to problems such as inadvertently commiting a submodule hash change while editing an irrelevant commit. I already had sprinkled a few `git submodule update`s in `post-checkout` and `post-rewrite` hooks, but I just found one more case: executing a `git rebase --abort` to abort a `git rebase` operation that involved changing a submodule commit results in the submodule change appearing in `git diff` even though no rebase operation is ongoing. Apparently there's one more hook that requires to have the same command, any ideas what that could be? P.S.: please keep me CCed, I'm not subscribed to the list