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?

  • 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 at 13:26
0

No.

But maybe diff-mode itself can.

| improve this answer | |
  • 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 at 21:36

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.