Re: Configuring diff --color-words using git-config?

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

 



On Wed, Jun 01, 2011 at 12:12:18PM +0200, FrÃdÃric Delanoy wrote:

> Is it possible to use a config option so that "--color-words" is used
> as default for diff?

No. And I'm not sure it would be a good idea, as the resulting diffs
would not be able to be applied, which could create some confusion.

Another option would be to use an alias to reduce the amount of typing:

  git config alias.dcw "diff --color-words"

-Peff
--
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]