Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On page http://drupal.org/node/707484, under "Include new files in your patch," it says "Next time you run git diff, these new files will be included as well."
This is false, if you run "git diff" as described earlier on that page.
The files will be included in the diff if you specify exactly the branch, so for example
git diff origin/6.x-3.x
will work if your working on a 6.x-3.x branch. But a plain old "git diff" will not show the added files.
Comments
Comment #1
eliza411 CreditAttribution: eliza411 commentedI updated these docs to make them technically accurate. I'm not sure how helpful the quick fix really is given that the patching instructions need a complete review, but at least people reading it won't expect git diff to work. Thanks for pointing this out.
Related: #1012476: Determine what to do with these patch-related pages when Git is deployed and [#3782684]