Re: Need a little help getting started with contributing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 04.01.2012 20:54, schrieb Florian Pritz:
>> cat =git-archprojects
> #!/bin/bash
> 
> if (( $# < 2 )); then
>   echo "usage: ${0##*/}: <project> <options to git send-email>"
>   exit 1
> fi
> 
> exec git format-patch --to arch-projects@xxxxxxxxxxxxx
> --subject-prefix="$1] [PATCH" "${@:2}"
> 
> ######
> 
> This creates the patch files in the current directory so you can review
> them. Then run `git send-email *.patch`. (I think they end with .patch,
> but I'm not sure right now and I don't wanna test)

git send-email accepts all options of git format-patch (this is not
immediately clear from the manpage) - you don't need to format-patch as
a separate step.

I don't use a script, but instead type:
 git send-email --subject-prefix="initscripts] [PATCH" --to
arch-projects@xxxxxxxxxxxxx master..working

Of course, you need to subscribe to arch-projects.

If you post a patch series (with more than 3 patches), it is also very
convenient if you push your tree to github (or anywhere where you can
host git) and provide a URL (in addition to posting the patches).

For more nice features, see the manpages of git-format-patch and
git-send-email.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux