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

Re: Git help for kernel archeology, suppress diffs caused by CVS keyword expansion

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 22, 2007, 19:15 UTC
Message-ID
<Pine.LNX.4.64.0707222013200.14781@racer.site>
In-Reply-To
<9e4733910707221210t2b2896b5ob4ce7bf95d4a707a@mail.gmail.com>
Hi,
On Sun, 22 Jul 2007, Jon Smirl wrote:
Show 15 quoted lines
> On 7/22/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
>
> > On Sun, 22 Jul 2007, Jon Smirl wrote:
> > 
> > > It would really be useful if git diff had an option for suppressing 
> > > diffs caused by CVS keyword expansion.
> > 
> > Looks to me slightly a bit like an XY problem.
> > 
> > How about using git-filter-branch to get rid of the expansions?  Or 
> > even better, if you have access to the CVS server, use the -k option 
> > to cvsimport?
> 
> No access to the server the people handing over the diffs and not
> making things easy.
Ah yes, that's what I feared.  Darn.

But still, I think that it would be much better not to put this into Git. We do have diff gitattributes now, so that you can roll your own diff for specific files, but I still think that this is more a task for a standalone perl script. Possibly being called from filter-branch to be done with the conversion once and for all times.

Ciao, Dscho

Previous: Jon SmirlNext: Jon Smirl
Message 4 of 24 in “Git help for kernel archeology, suppress diffs caused by CVS keyword expansion”
  1. Jon SmirlJul 22, 2007
  2. Johannes SchindelinJul 22, 2007
  3. Jon SmirlJul 22, 2007
  4. Johannes SchindelinJul 22, 2007
  5. Jon SmirlJul 22, 2007
  6. Johannes SchindelinJul 22, 2007
  7. Jon SmirlJul 22, 2007
  8. Johannes SchindelinJul 22, 2007
  9. Jon SmirlJul 23, 2007
  10. Johannes SchindelinJul 23, 2007
  11. Jon SmirlJul 23, 2007
  12. Simon 'corecode' SchubertJul 23, 2007
  13. Johannes SchindelinJul 23, 2007
  14. Jon SmirlJul 24, 2007
  15. Jon SmirlJul 24, 2007
  16. Johannes SchindelinJul 24, 2007
  17. Jakub NarebskiJul 24, 2007
  18. Johannes SchindelinJul 24, 2007
  19. Jon SmirlJul 24, 2007
  20. Linus TorvaldsJul 22, 2007
  21. Jon SmirlJul 22, 2007
  22. Linus TorvaldsJul 22, 2007
  23. David KastrupJul 22, 2007
  24. Jan EngelhardtJul 22, 2007

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.