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">&lt;<a href="mailto:guillaume@resist.ca">guillaume@resist.ca</a>&gt;</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 &gt;<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>
&gt; I noticed in another thread that somebody suggested git diff --no-prefix<br>
&gt; for creating patches.<br>
&gt;<br>
&gt; Please don&#39;t do that any more. We&#39;ve moved to standard git patches (git<br>
&gt; diff without the --no-prefix, meaning a patch -p1 patch).<br>
&gt;<br>
&gt; Testbot support for -p0 patches (--no-prefix) will be removed around the<br>
&gt; end of May. See <a href="http://groups.drupal.org/node/140204" target="_blank">http://groups.drupal.org/node/140204</a><br>
&gt;<br>
&gt; Some of you may have the --no-prefix stuff in your  .gitconfig. Please<br>
&gt; remove it from there as well.<br>
&gt;<br>
&gt; In the issue queues, please start to insist on rerolls for -p0 formatted<br>
&gt; patches (if they have no a/ and b/ in front of the filenames.<br>
&gt;<br>
&gt; Thanks for your cooperation.<br>
&gt;<br>
&gt; -Randy<br>
&gt;<br>
&gt; --<br>
&gt; Randy Fay<br>
&gt; Drupal Module and Site Development<br>
&gt; <a href="mailto:randy@randyfay.com">randy@randyfay.com</a> &lt;mailto:<a href="mailto:randy@randyfay.com">randy@randyfay.com</a>&gt;<br>
&gt; <a href="tel:%2B1%20%20970.462.7450" value="+19704627450">+1  970.462.7450</a><br>
&gt;<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>