Is it possible to stage changes in diff-mode? Or is this only possible with magit+ediff?

  • Please elaborate. Say what you mean by "stage changes". Clarify the reference to magit+ediff. – Drew Jun 26 at 15:17

No, it is not possible. diff-mode is just for showing and editing diffs; VersionControl what gets committed, and works only with files or sets of files:

[some] version control systems [...] are file-based: each file has its own [...] history [...]. [...] changeset-based [systems' commits] may include changes to several files, and the entire set of changes is handled as a unit.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.