Closed (fixed)
Project:
Git on Drupal.org
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2011 at 19:58 UTC
Updated:
25 Apr 2011 at 20:51 UTC
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 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]