diff --git a/core/commands/inline_diff.py b/core/commands/inline_diff.py index 21796bb95..f1aa6e094 100644 --- a/core/commands/inline_diff.py +++ b/core/commands/inline_diff.py @@ -710,7 +710,10 @@ def on_activated(self, view: sublime.View) -> None: if ( active_on_activated and is_inline_diff_view(view) - and not view.settings().get("git_savvy.inline_diff_view.target_commit") + and ( + not view.settings().get("git_savvy.inline_diff_view.target_commit") + or view.id() not in diff_view_hunks + ) ): view.run_command("gs_inline_diff_refresh", {"sync": False})