[FFmpeg-devel] Need help submitting a patch
Nicolas George
george at nsup.org
Tue May 3 10:54:49 EEST 2022
Traian Coza (12022-05-03):
> Hi! I am new to contributing to FFmpeg, and I have a technical question.
>
> I'm trying to submit a patch, but it's a fairly large patch, which I've
> made in multiple commits. I don't know how to generate the email for this
> patch. The example command given on the website (with format-patch) only
> generates the email for a single commit. I've searched the web and I don't
> really see an easy way to do it. Can someone help me out with this?
First, make sure your multiple commits are really there: check they are
all visible in `git log`.
Then, what is your git format-patch exact command? If it ends in "-1",
then the result you are seeing is normal: the -1 is telling it to take
the last patch.
You need to tell git format-patch the last commit before yours. You can
get it from `git log`. It would be even simpler if you thought of making
a branch: then you just need to specify the name of the branch from
which you branched.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220503/541fe776/attachment.sig>
More information about the ffmpeg-devel
mailing list