B2G/Hacking: Difference between revisions

11 bytes removed ,  8 November 2012
Line 118: Line 118:
Instead of attaching the result of <code>git diff</code> to bugs, attach the output of the following command:
Instead of attaching the result of <code>git diff</code> to bugs, attach the output of the following command:


<code>$ git diff -U8 -M -C --patience</code>
<code>$ git diff -U8 --patience -M -C</code>


You can alias this to <code>git dif</code> by modifying your ~/.gitconfig as follows:
You can alias this to <code>git dif</code> by modifying your ~/.gitconfig as follows:


<code>[alias]
<code>[alias]
dif = diff -U8 --patience -M -C --patience</code>
dif = diff -U8 --patience -M -C</code>


==== Generating checkin-needed patches ====
==== Generating checkin-needed patches ====
187

edits