[PATCH] gas: Fix some typos in the Info manual

Štěpán Němec stepnem@gmail.com
Tue Aug 9 21:36:06 GMT 2022

Hello Nick,

On Tue, 09 Aug 2022 16:33:49 +0100
Nick Clifton wrote:

> If I have understood correctly, I have to save the entire email to a
> file, and then run "git am <file>" to have the patch applied.

Yes, that's one way. Many people use some kind of MUA or text editor
integration or scripts, e.g., pipe the message to a command (like
git-am(1)) directly without an explicit saving middle step.

> But this automatically commits the patch, even if I do not want to do
> so. So then if I decide that the patch is wrong in some way I have to
> revert the commit and reset the sources. But if I like the commit I
> can push it straight away. Right ?

If you wish to only apply the patch changes without committing you could
use git-apply(1) instead of git-am(1), though it might be more
convenient to commit the patch first anyway (git am), check or test it
and if you want to change something in-place, you can just make the
changes and use `git commit --amend` to modify that last commit (HEAD)
before pushing.



More information about the Binutils mailing list