Index: project_git_instructions.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_git_instructions/project_git_instructions.admin.inc,v
retrieving revision 1.13
diff -u -p -r1.13 project_git_instructions.admin.inc
--- project_git_instructions.admin.inc	9 Feb 2011 07:41:48 -0000	1.13
+++ project_git_instructions.admin.inc	15 Feb 2011 05:34:40 -0000
@@ -25,10 +25,10 @@ function project_git_instructions_settin
     [@email] => => user411@example.org<br />
     [!git_access_link] => <a href="/user/300411/edit/git">Git access page</a><br />
     [@project_username] => merlinofchaos<br />
-    [@auth_project_url] => ssh://user411@git-dev.drupal.org:2222/project/ctools.git<br />
-    [@anon_project_url] => http://git-dev.drupalcode.org/project/ctools.git<br />
-    [@auth_sandbox_url] => ssh://user411@git-dev.drupal.org:2222/sandbox/merlinofchaos/ctools.git<br />
-    [@anon_sandbox_url] => http://git-dev.drupalcode.org/sandbox/merlinofchaos/ctools.git<br />
+    [@auth_project_url] => ssh://user411@git-testing.drupal.org:2222/project/ctools.git<br />
+    [@anon_project_url] => http://git-testing.drupalcode.org/project/ctools.git<br />
+    [@auth_sandbox_url] => ssh://user411@git-testing.drupal.org:2222/sandbox/merlinofchaos/ctools.git<br />
+    [@anon_sandbox_url] => http://git-testing.drupalcode.org/sandbox/merlinofchaos/ctools.git<br />
     </div>'
   );
   $form['project_git_instructions_maintainer'] = array(
@@ -123,25 +123,25 @@ function project_git_instructions_settin
     '#title' => t('Repository URL for Authenticated Users'),
     '#description' => t('The preferred URL style. You can use variables here.'),
     '#type' => 'textfield',
-    '#default_value' => variable_get('project_git_instructions_git_repository_url_authenticated', 'ssh://@git_username@git-dev.drupal.org:2222/project/@project_name'),
+    '#default_value' => variable_get('project_git_instructions_git_repository_url_authenticated', 'ssh://@git_username@git-testing.drupal.org:2222/project/@project_name'),
   );
   $form['project_git_instructions_git_repository_url_anonymous'] = array(
     '#title' => t('Repository URL for Anonymous Users'),
     '#description' => t('The preferred URL style. You can use variables here.'),
     '#type' => 'textfield',
-    '#default_value' => variable_get('project_git_instructions_git_repository_url_anonymous', 'http://git-dev.drupalcode.org/project/@project_name'),
+    '#default_value' => variable_get('project_git_instructions_git_repository_url_anonymous', 'http://git-testing.drupalcode.org/project/@project_name'),
   );
   $form['project_git_instructions_git_sandbox_repository_url_authenticated'] = array(
     '#title' => t('Repository URL for Authenticated Users'),
     '#description' => t('The preferred URL style. You can use variables here.'),
     '#type' => 'textfield',
-    '#default_value' => variable_get('project_git_instructions_git_sandbox_repository_url_authenticated', 'ssh://@git_username@git-dev.drupal.org:2222/sandbox/@project_username/@project_name'),
+    '#default_value' => variable_get('project_git_instructions_git_sandbox_repository_url_authenticated', 'ssh://@git_username@git-testing.drupal.org:2222/sandbox/@project_username/@project_name'),
   );
   $form['project_git_instructions_git_sandbox_repository_url_anonymous'] = array(
     '#title' => t('Repository URL for Anonymous Users'),
     '#description' => t('The preferred URL style. You can use variables here.'),
     '#type' => 'textfield',
-    '#default_value' => variable_get('project_git_instructions_git_sandbox_repository_url_anonymous', 'http://git-dev.drupalcode.org/sandbox/@project_username/@project_name'),
+    '#default_value' => variable_get('project_git_instructions_git_sandbox_repository_url_anonymous', 'http://git-testing.drupalcode.org/sandbox/@project_username/@project_name'),
   );
 
   return system_settings_form($form);
Index: project_git_instructions.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_git_instructions/project_git_instructions.module,v
retrieving revision 1.63
diff -u -p -r1.63 project_git_instructions.module
--- project_git_instructions.module	15 Feb 2011 01:52:12 -0000	1.63
+++ project_git_instructions.module	15 Feb 2011 05:34:40 -0000
@@ -130,10 +130,10 @@ function project_git_instructions_get_de
 
   // These are special variables and need to be run through t() in advance.
   // We generate an auth url even for non-maintainers. Of course it won't work if they see it and use it.
-  $defaults['@auth_project_url'] = t(variable_get('project_git_instructions_git_repository_url_authenticated', 'ssh://@git_username@git-dev.drupal.org:2222/project/@project_name'), $defaults);
-  $defaults['@anon_project_url'] = t(variable_get('project_git_instructions_git_repository_url_anonymous', 'http://git-dev.drupalcode.org/project/@project_name'), $defaults);
-  $defaults['@auth_sandbox_url'] = t(variable_get('project_git_instructions_git_sandbox_repository_url_authenticated', 'ssh://@git_username@git-dev.drupal.org:2222/sandbox/@project_username/@project_name'), $defaults);
-  $defaults['@anon_sandbox_url'] = t(variable_get('project_git_instructions_git_sandbox_repository_url_anonymous', 'http://git-dev.drupalcode.org/sandbox/@project_username/@project_name'), $defaults);
+  $defaults['@auth_project_url'] = t(variable_get('project_git_instructions_git_repository_url_authenticated', 'ssh://@git_username@git-testing.drupal.org:2222/project/@project_name'), $defaults);
+  $defaults['@anon_project_url'] = t(variable_get('project_git_instructions_git_repository_url_anonymous', 'http://git-testing.drupalcode.org/project/@project_name'), $defaults);
+  $defaults['@auth_sandbox_url'] = t(variable_get('project_git_instructions_git_sandbox_repository_url_authenticated', 'ssh://@git_username@git-testing.drupal.org:2222/sandbox/@project_username/@project_name'), $defaults);
+  $defaults['@anon_sandbox_url'] = t(variable_get('project_git_instructions_git_sandbox_repository_url_anonymous', 'http://git-testing.drupalcode.org/sandbox/@project_username/@project_name'), $defaults);
 
   return $defaults;
 }
@@ -351,7 +351,7 @@ function project_git_instructions_mainta
 <code>cd @uri</code><br />
 </div>
 <h3>Associate your copy of the repository with your Drupal.org account</h3>
-Although it is standard practice to use a functional address., you can also use the pre-configured address <code>@git_username@@uid-no-reply.drupal.org</code>. See <a href="/node/1053134">Managing your Git identity</a> for details.
+If you have NOT already <a href="/node/1022156#identify-global">identified yourself to Git globally</a>, do so now. Although it is standard practice to use a functional address, you can also use the pre-configured address <code>@git_username@@uid-no-reply.drupal.org</code>. See <a href="/node/1053134">Manage your Git identity</a> for details.
 <div class="codeblock">
 <code>git config user.email "@email"</code><br />
 </div>
@@ -367,9 +367,8 @@ To see what you will commit by running g
 <code>git status</code><br />
 </div>
 <h3>Commit all changes locally</h3>
-<p>Make your changes. For detailed directions in the <a
-href="http://drupal.org/documentation/git">Git Handbook</a> for more
-options.</p>
+<p>Make your changes. Note the change in syntax for issue-related commit messages. See the <a
+href="/node/1061754">Commit messages</a> page for details.</p>
 <div class="codeblock">
 <code>git add -u</code><br />
 <code>git commit -m &quot;[issue category] #[issue number] by [comma-separated usernames]: [Short summary of the change].&quot;</code>
@@ -381,7 +380,8 @@ options.</p>
 <h3>Create a patch</h3>
 <div class="codeblock">
 <code>git fetch origin</code><br />
-<code>git diff --no-prefix origin/@branch > [issuenumber]-"description".patch</code><br />
+<code>git rebase origin/@branch</code><br />
+<code>git format-patch origin/[version] --stdout > [description]-[issue-number]-[comment-number].patch</code><br />
 </div>
 <h2>Create Releases</h2>
 See the <a href="/node/1015226">naming conventions</a> for a complete description of how to name branches and tags so you can create releases.
@@ -423,8 +423,8 @@ To see what you will commit by running g
 <code>git status</code><br />
 </div>
 <h3>Commit all changes locally</h3>
-<p>Make your changes. For detailed directions see the <a
-href="http://drupal.org/documentation/git">Git Handbook</a>.</p>
+<p>Make your changes. Note the change in syntax for issue-related commit messages. See the <a
+href="/node/1061754">Commit messages</a> page for details.</p>
 <div class="codeblock">
 <code>git add -u</code><br />
 <code>git commit -m &quot;[issue category] #[issue number] by [comma-separated usernames]: [Short summary of the change].&quot;</code><br />
@@ -437,7 +437,8 @@ href="http://drupal.org/documentation/gi
 <h3>Create a patch</h3>
 <div class="codeblock">
 <code>git fetch origin</code><br />
-<code>git diff --no-prefix origin/@branch > [issuenumber]-"description".patch</code><br />
+<code>git rebase origin/@branch</code><br />
+<code>git format-patch origin/[version] --stdout > [description]-[issue-number]-[comment-number].patch</code><br />
 </div>
 EOT;
   return $default;
@@ -487,13 +488,13 @@ function project_git_instructions_sandbo
 <h3>Set up this repository in your local environment for the first time:</h3>
 <p>You will be prompted to enter your Drupal.org password after the
 first step (and any time you make requests from Drupal.org) if you
-have not uploaded an SSH Key or if your SSH key fails. See <a
-href="/node/1027094">Authenticating with Git on Drupal.org</a> for
+have not uploaded an SSH key or if your SSH key fails. See <a
+href="/node/1027094">Authenticate with Git on Drupal.org</a> for
 details.</p>
 <div class="codeblock">
 <code>git clone --branch @branch @auth_sandbox_url</code><br />
 <br />
-<code>cd @uri</code><br />
+<code>cd @project_fullname</code><br />
 </div>
 <h2>Routinely</h2>
 The following command both creates and checks out a new branch:
@@ -506,9 +507,8 @@ To see what you will commit by running g
 <code>git status</code><br />
 </div>
 <h3>Commit all changes locally</h3>
-<p>Make your changes. See detailed directions in the <a
-href="http://drupal.org/documentation/git">Git Handbook</a> for more
-options.</p>
+<p>Make your changes. Note the change in syntax for issue-related commit messages. See the <a
+href="/node/1061754">Commit messages</a> page for details.</p>
 <div class="codeblock">
 <code>git add -u</code><br />
 <code>git commit -m "Message about your changes"</code><br />
@@ -530,8 +530,8 @@ change].&quot;</code><br />
 <h3>Create a patch</h3>
 <div class="codeblock">
 <code>git fetch origin</code><br />
-<code>git diff --no-prefix origin/@branch >
-[issuenumber]-"description".patch</code><br />
+<code>git rebase origin/@branch</code><br />
+<code>git format-patch origin/[version] --stdout > [description]-[issue-number]-[comment-number].patch</code><br />
 </div>
 EOT;
   return $default;
@@ -556,7 +556,8 @@ To see what you will commit by running g
 <code>git status</code><br />
 </div>
 <h3>Commit all changes locally</h3>
-<p>Make your changes. See detailed directions in the <a href="http://drupal.org/documentation/git">Git Handbook</a> for more options.</p>
+<p>Make your changes. Note the change in syntax for issue-related commit messages. See the <a
+href="/node/1061754">Commit messages</a> page for details.</p>
 <div class="codeblock">
 <code>git add -u</code><br />
 <code>git commit -m "Message about your changes"</code><br />
@@ -569,7 +570,8 @@ To see what you will commit by running g
 <h3>Create a patch</h3>
 <div class="codeblock">
 <code>git fetch origin</code><br />
-<code>git diff --no-prefix origin/@branch > [issuenumber]-"description".patch</code><br />
+<code>git rebase origin/@branch</code><br />
+<code>git format-patch origin/[version] --stdout > [description]-[issue-number]-[comment-number].patch</code><br />
 </div>
 EOT;
   return $default;
@@ -579,13 +581,13 @@ function project_git_instructions_sandbo
   $default = <<<EOT
 <h2>Empty Sandbox Repository</h2>
 <h3>Set up this repository for the first time:</h3>
-<p>You will be prompted to enter your Drupal.org password after the last step (and any time you make requests from Drupal.org) if you have not uploaded an SSH Key or if your SSH key fails. See <a href="/node/1027094">Authenticating with Git on Drupal.org</a> for details.</p>
+<p>You will be prompted to enter your Drupal.org password after the last step (and any time you make requests from Drupal.org) if you have not uploaded an SSH key or if your SSH key fails. See <a href="/node/1027094">Authenticate with Git on Drupal.org</a> for details.</p>
 <div class="codeblock">
-<code>mkdir @uri</code><br /><br />
-<code>cd @uri</code><br /><br />
+<code>mkdir @project_fullname</code><br /><br />
+<code>cd @project_fullname</code><br /><br />
 <code>git init</code><br /><br />
-<code>echo "name = %title" > @uri.info</code><br /><br />
-<code>git add @uri.info</code><br /><br />
+<code>echo "name = %title" > @project_fullname.info</code><br /><br />
+<code>git add @project_fullname.info</code><br /><br />
 <code>git commit -m "Initial commit."</code><br /><br />
 <code>git remote add origin @auth_sandbox_url</code><br /><br />
 <code>git push origin master</code><br />
