Re: [PATCH] Make ident dynamic, not just a hardcoded value of "$Id".
From: Philip Oakley <hidden>
Date: 2021-08-23 18:41:39
On 23/08/2021 17:41, Maksym Sobolyev via GitGitGadget wrote:
quoted hunk ↗ jump to hunk
From: Maksym Sobolyev <redacted> 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 <redacted> --- 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