5.8.2.2 Comparing a Version-Controlled File

images/casual-ediff-screenshot

Casual Ediff provides a dedicated command to compare a version-controlled file with its latest commit: casual-ediff-revision. This command short-circuits the prompts asked for by the command ediff-revision which asks for the source file and the revision to compare it to. Call casual-ediff-revision from the window of a version-controlled file, typically by key binding of preference.

The A side will hold the last committed revision of a file. The B side will hold current source file.

Users desiring a mouse-driven approach to calling casual-ediff-revision should use the command casual-ediff-revision-from-menu invoked from either the top-level or context menu.

Note that both casual-ediff-revision and casual-ediff-revision-from-menu will checkpoint the window configuration before invoking the Ediff session and restore it after the session is complete.