Thanks for catching that. I really think we should just get those instructions out of there.<br><br>To fix git documentation, please file issues at <a href="http://drupal.org/project/git_dev">http://drupal.org/project/git_dev</a><br>
<br>Thanks,<br>-Randy<br><br><div class="gmail_quote">On Thu, Apr 14, 2011 at 2:04 PM, Guillaume <span dir="ltr"><<a href="mailto:guillaume@resist.ca">guillaume@resist.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This doc needs to be fixed then:<br>
<a href="http://drupal.org/patch/create" target="_blank">http://drupal.org/patch/create</a><br>
<br>
It says to use:<br>
diff -up path/to/file/example.module path/to/file/exampleNew.module ><br>
mypatchname.patch<br>
<br>
Which produces p0 patches :(.<br>
<br>
G<br>
<br>
<br>
On 04/11/2011 01:21 PM, Randy Fay wrote:<br>
> I noticed in another thread that somebody suggested git diff --no-prefix<br>
> for creating patches.<br>
><br>
> Please don't do that any more. We've moved to standard git patches (git<br>
> diff without the --no-prefix, meaning a patch -p1 patch).<br>
><br>
> Testbot support for -p0 patches (--no-prefix) will be removed around the<br>
> end of May. See <a href="http://groups.drupal.org/node/140204" target="_blank">http://groups.drupal.org/node/140204</a><br>
><br>
> Some of you may have the --no-prefix stuff in your .gitconfig. Please<br>
> remove it from there as well.<br>
><br>
> In the issue queues, please start to insist on rerolls for -p0 formatted<br>
> patches (if they have no a/ and b/ in front of the filenames.<br>
><br>
> Thanks for your cooperation.<br>
><br>
> -Randy<br>
><br>
> --<br>
> Randy Fay<br>
> Drupal Module and Site Development<br>
> <a href="mailto:randy@randyfay.com">randy@randyfay.com</a> <mailto:<a href="mailto:randy@randyfay.com">randy@randyfay.com</a>><br>
> <a href="tel:%2B1%20%20970.462.7450" value="+19704627450">+1 970.462.7450</a><br>
><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1 970.462.7450<br><br>