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

Re: [PATCH] Make ident dynamic, not just a hardcoded value of "$Id".

From
Philip Oakley <philipoakley@iee.email>
Date
Aug 23, 2021, 18:41 UTC
Message-ID
<da4e66ec-0613-a8ba-0b69-cd247fcd457b@iee.email>
In-Reply-To
<pull.1074.git.git.1629736918861.gitgitgadget@gmail.com>
On 23/08/2021 17:41, Maksym Sobolyev via GitGitGadget wrote:
Show 37 quoted lines
> From: Maksym Sobolyev <sobomax@sippysoft.com>
>
> This allows ident to be something like $FreeBSD$ so it provides matching
> functionality for repos migrated from CVS / SVN.
>
> This works by allowing ident to have a parameter, i.e.:
>
> * ident=MyCustomId
>
> In .gitattributes.
>
> Signed-off-by: Maksym Sobolyev <sobomax@sippysoft.com>
> ---
>     Make ident dynamic, not just a hardcoded value of "$Id".
>     
>     This allows ident to be something like $FreeBSD$ so it provides matching
>     functionality for repos migrated from CVS / SVN.
>     
>     This works by allowing ident to have a parameter, i.e.:
>     
>     * ident=MyCustomId
>     
>     In .gitattributes.
>
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1074%2Fsobomax%2Fpr-custom_ident-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1074/sobomax/pr-custom_ident-v1
> Pull-Request: https://github.com/git/git/pull/1074
>
>  builtin/checkout--worker.c              |  17 +++-
>  convert.c                               | 114 +++++++++++++++---------
>  convert.h                               |   7 +-
>  parallel-checkout.c                     |  11 ++-
>  parallel-checkout.h                     |   8 +-
>  t/t2082-parallel-checkout-attributes.sh |   7 +-
>  6 files changed, 108 insertions(+), 56 deletions(-)
>
> diff --git a/builtin/checkout--worker.c b/builtin/checkout--worker.c
Should this also include some documentation updates?
-- 
Philip
Previous: Junio C HamanoNext: Maksym Sobolyev via GitGitGadget
Message 3 of 11 in “Make ident dynamic, not just a hardcoded value of "$Id".”
  1. Make ident dynamic, not just a hardcoded value of "$Id".Maksym Sobolyev via GitGitGadget, Aug 23, 2021
  2. Junio C HamanoAug 23, 2021
  3. Philip OakleyAug 23, 2021
  4. Make ident dynamic, not just a hardcoded value of "$Id".Maksym Sobolyev via GitGitGadget, Aug 26, 2021
  5. Matheus TavaresAug 26, 2021
  6. Junio C HamanoSep 2, 2021
  7. Junio C HamanoSep 2, 2021
  8. Junio C HamanoAug 27, 2021
  9. Make ident dynamic, not just a hardcoded value of "$Id".Maksym Sobolyev via GitGitGadget, Sep 1, 2021
  10. Đoàn Trần Công DanhSep 2, 2021
  11. Junio C HamanoSep 1, 2021

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.