1

Is it possible to stage the current hunk or selected lines of the hunk in diff-mode?

For example, when in diff-mode, what command can I run to stage the current hunk?

1
  • This is a yes/no question. You probably should rewrite it to clarify what additional information you'd want to see in an answer.
    – Stefan
    Jun 20, 2020 at 13:26

1 Answer 1

1

No.

But maybe diff-mode itself can.

1
  • Ah, I thought this is something magit would handle, when in diff-mode all the commands containing the word "stage" are from magit, so I assumed regular diff mode couldn't do this.
    – ideasman42
    Jun 20, 2020 at 21:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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