Re: [PATCH] diff --check: use colour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 25 Jan 2007, Bill Lear wrote:

> 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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]