FFmpeg: Handle (apply and undo) patches from an email
Posted: Sun Apr 28, 2013 2:45 pm
There's information about submitting patches for FFmpeg in the official documentation, but I wanted to apply a patchset sent on the ffmpeg-devel mailing list.
My git-foo ain't too great, and I'm used to using the good old "GNU patch" for applying diff-patches. But it seems that using "git apply" is actually the way to go in this case.
I've read "Git tip of the week: Patches by Email (by Al Blue)" and it seemed to work fine.
This text here will describe the following:
It might seem trivial for most developers who're working with git everyday, but I tend to forget stuff, so I better write it down
My git-foo ain't too great, and I'm used to using the good old "GNU patch" for applying diff-patches. But it seems that using "git apply" is actually the way to go in this case.
I've read "Git tip of the week: Patches by Email (by Al Blue)" and it seemed to work fine.
This text here will describe the following:
- how to handle a patch for FFmpeg that came by email (mostly from the FFmpeg mailing lists)
- how to revert the patched files back to the recent git HEAD (useful for reproducing stuff...)
It might seem trivial for most developers who're working with git everyday, but I tend to forget stuff, so I better write it down