git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-gui: add config value gui.diffopts for passing additional diff options

From
Tilman Vogel <tilman.vogel@web.de>
Date
Jan 28, 2011, 00:19 UTC
Message-ID
<4D420B95.2060509@web.de>
In-Reply-To
<87ipxdn81f.fsf@fox.patthoyts.tk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Am 25.01.2011 01:25, schrieb Pat Thoyts:
> This seems ok but you don't say what it is for. Why do you want to be
> able to pass additional options to git diff?

Sorry, forgot to copy the motivation from <https://github.com/git/git/pull/8>:

I want to be able to make diff ignore whitespace changes "-b". But maybe someone else wants "-w" or what not, so I think a generic option field is most versatile.

If you feel, this switch should be easier to reach than through the options menu, I agree, but I am a Tcl/Tk newbie, so this was the easiest fix for me.

> I can apply this to git-gui's repository. The Documentation change will
> need to be sent to git separately once this is merged from git-gui.

Sure, I would be happy. However, if you feel like coding up something that's easier to use, I'd be even happier. But maybe the generic field is still of use.

Regards,
Tilman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk1CC5UACgkQ9ZPu6Yae8lknCwCfcEfBH8uSSZbB93IHpJiEivll zlwAoKgPswZGMf6fERRB8p24TsLCGA1r =uWHw -----END PGP SIGNATURE-----

Previous: Pat ThoytsNext: Johannes Sixt
Message 3 of 4 in “git-gui: add config value gui.diffopts for passing additional diff options”
  1. git-gui: add config value gui.diffopts for passing additional diff optionsTilman Vogel, Jan 21, 2011
  2. Pat ThoytsJan 25, 2011
  3. Tilman VogelJan 28, 2011
  4. Johannes SixtJan 28, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.