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

Re: [PATCH 4/5] convert: Inhibit contraction of foreign $Id$ during stats.

From
HGHenrik Grubbström <grubba@roxen.com>
Date
Apr 6, 2010, 11:53 UTC
Message-ID
<Pine.GSO.4.63.1004061324530.1164@shipon.roxen.com>
In-Reply-To
<7v634bosjg.fsf@alter.siamese.dyndns.org>
On Thu, 1 Apr 2010, Junio C Hamano wrote:
> "Henrik Grubbström (Grubba)"  <grubba@grubba.org> writes:
>
>> @@ -462,6 +463,20 @@ static int ident_to_git(const char *path, const char *src, size_t len,
[...]
>
> Somehow this feels to me that it is applying a band-aid to solve a problem
> that does not exist, only because the second patch in this series to keep
> the foreign one left expanded were not such a good change after all...

True, this was the patch that I was least satisfied with, since it only solved a special case (albeit the special case that I was interested in).

The general case is when the canonic (ie *_to_git) conversion filter for a file has changed after the file was committed.

-- Henrik Grubbström grubba@grubba.org Roxen Internet Software AB grubba@roxen.com

Previous: Junio C HamanoNext: Stephen R. van den Berg
Message 10 of 14 in “ident attribute related patches (resend w/ testsuite v3)”
  1. 0/5 ident attribute related patches (resend w/ testsuite v3)Henrik Grubbström (Grubba), Mar 29, 2010
  2. 1/5 convert: Safer handling of $Id$ contraction.Henrik Grubbström (Grubba), Mar 29, 2010
  3. 2/5 convert: Keep foreign $Id$ on checkout.Henrik Grubbström (Grubba), Mar 29, 2010
  4. 3/5 convert: Use the enum constant SAFE_CRLF_FALSE.Henrik Grubbström (Grubba), Mar 29, 2010
  5. 4/5 convert: Inhibit contraction of foreign $Id$ during stats.Henrik Grubbström (Grubba), Mar 29, 2010
  6. 5/5 convert: Added core.refilteronadd feature.Henrik Grubbström (Grubba), Mar 29, 2010
  7. Stephen R. van den BergMar 29, 2010
  8. Stephen R. van den BergMar 29, 2010
  9. Junio C HamanoApr 1, 2010
  10. Henrik GrubbströmApr 6, 2010
  11. Stephen R. van den BergMar 29, 2010
  12. Junio C HamanoApr 1, 2010
  13. Stephen R. van den BergMar 29, 2010
  14. Stephen R. van den BergMar 29, 2010

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.