Preparing patches

Hello all,

Now we need to prepare a patch before sending it to the correct mailing list. We can do this by issuing:

$ git-format-patch -o patches_to_send

the start commit id must be one commit before yours, this is an open interval in the beginning and closed at the end (]a,b]).

After formating the patches, is nice to check if they're correct, if you're not missing anything, like white-spaces, commented code, unused variables, etc.

To test email config before sending the patches we just:

$ git-send-email --to mailing_list_address@domain.com --from "My Name " --dry-run patches_to_send

And to really send we just remove the --dry-run flag:

$ git-send-email --to mailing_list_address@domain.com --from "My Name " patches_to_send

VN:F [1.9.0_1079]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.0_1079]
Rating: 0 (from 0 votes)

Leave a Reply