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

Re: [PATCH] Add -k kill keyword expansion option to git-cvsimport

From
Junio C Hamano <junkio@cox.net>
Date
Aug 15, 2005, 07:12 UTC
Message-ID
<7vk6in65dp.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<46a038f9050814235140877be7@mail.gmail.com>
Martin Langhoff <martin.langhoff@gmail.com> writes:
Show 8 quoted lines
> [PATCH] Add -k kill keyword expansion option to git-cvsimport
>
> Early versions of git-cvsimport defaulted to using preexisting keyword
> expansion settings. This change preserves compatibility with existing cvs
> imports and allows new repository migrations to kill keyword expansion.
>
> Should improve our chances of detecting merges and reduce imported
> repository size.

The discussion between you and Linus since you brought this up has kept me wondering if -ko is the only thing people may want to do, or sometimes -kk or even -kb or -kv make sense for some others, in which case instead of a -k option that does not allow anything but -ko, making it take an optional single letter o/k/b/v might might more sense. A single -k defaulting to -ko is fine by me if you did so, because I think that is the most useful and usual mode of operation while converting to GIT repository.

Thoughts?
Previous: Martin LanghoffNext: Martin Langhoff
Message 3 of 12 in “Add -k kill keyword expansion option to git-cvsimport”
  1. Add -k kill keyword expansion option to git-cvsimportMartin Langhoff, Aug 15, 2005
  2. Martin LanghoffAug 15, 2005
  3. Junio C HamanoAug 15, 2005
  4. Martin LanghoffAug 15, 2005
  5. Junio C HamanoAug 15, 2005
  6. Martin LanghoffAug 15, 2005
  7. Junio C HamanoAug 15, 2005
  8. Junio C HamanoAug 15, 2005
  9. Martin LanghoffAug 15, 2005
  10. Martin LanghoffAug 15, 2005
  11. Junio C HamanoAug 16, 2005
  12. Martin LanghoffAug 16, 2005

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.