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

Re: stgit: config option for diff-opts

From
Yann Dirson <ydirson@altern.org>
Date
Jan 24, 2008, 07:48 UTC
Message-ID
<20080124074827.GA29572@nan92-1-81-57-214-146.fbx.proxad.net>
In-Reply-To
<20080123031829.GB25508@diana.vm.bytemark.co.uk>
On Wed, Jan 23, 2008 at 04:18:29AM +0100, Karl Hasselström wrote:
Show 11 quoted lines
> On 2008-01-22 22:04:21 -0500, Jon Smirl wrote:
> 
> > Could I get a config option added to stgit for diff-opts? So that I
> > can always have git diff -M set on renames.
> 
> Good idea. I've often needed this myself, without consciously
> realizing it -- my bash is set to save an infinite amount of history,
> so Ctrl+R always helps me out ...
> 
> Will whip up, unless someone beats me to it. It's getting sorta late,
> so I won't have time for at least a day or two.

I also think that some config stuff should be done, but I could not come with a usable design.

See eg. http://marc.info/?l=git&m=118102609623481&w=4

Another problem not explicitely mentionned there is that we my want on the same project to have different settings, eg. for viewing (as compact as possible), exporting (GNU compatibility), and feeding to other git commands (with --binary).

Best regards,
-- 
Yann
Previous: Karl HasselströmNext: Karl Hasselström
Message 3 of 10 in “stgit: config option for diff-opts”
  1. Jon SmirlJan 23, 2008
  2. Karl HasselströmJan 23, 2008
  3. Yann DirsonJan 24, 2008
  4. 0/4 --diff-opts in config fileKarl Hasselström, Jan 24, 2008
  5. 1/4 Remove unused default valuesKarl Hasselström, Jan 24, 2008
  6. 2/4 Refactor --diff-opts handlingKarl Hasselström, Jan 24, 2008
  7. 3/4 Let "stg show" use the unified --diff-opts handlingKarl Hasselström, Jan 24, 2008
  8. 4/4 Read default diff options from the user's configKarl Hasselström, Jan 24, 2008
  9. Karl HasselströmJan 24, 2008
  10. Jon SmirlJan 24, 2008

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.