Re: [PATCH] diff --check: use colour
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 25, 2007, 23:41 UTC
- Message-ID
- <Pine.LNX.4.63.0701260034320.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <17849.13327.527531.262943@lisa.zopyra.com>
Hi,
On Thu, 25 Jan 2007, Bill Lear wrote:
Show 11 quoted lines
> On Thursday, January 25, 2007 at 14:23:07 (-0800) Junio C Hamano writes: > >... > >Then > > > > Seriously, this option needs to be documented. Volunteers? > > If you think someone new to git could do this, I would be happy to make > this my first contribution to the git community. > > Tell me where to look for the thing to modify, how to modify it, and how > to tell you about what I did (etc.), and I'll give it a go.
The --check option is handled in diff.c (you can find out by e.g. "git grep -e --check -- \*"). Thus, it should be documented in Documentation/diff-options.txt.
The easiest way to find out what it does is to execute:
git log -S--check diff.c
This will lead you to v1.4.0-rc1~110.
The file format for Documentation/*.txt is easily imitated by looking at the context, and maybe eventually "make doc" (you'll need asciidoc for that).
Once you made that change, just commit and make a patch with "git format-patch HEAD^". Submit. Be famous.
Thank you, Dscho