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

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

From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date
Sep 2, 2021, 03:40 UTC
Message-ID
<YTBHk+cS7WluKGL2@danh.dev>
In-Reply-To
<pull.1074.v3.git.git.1630462385587.gitgitgadget@gmail.com>
On 2021-09-01 02:13:05+0000, Maksym Sobolyev via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 12 quoted lines
> diff --git a/convert.h b/convert.h
> index 5ee1c322058..2422e289784 100644
> --- a/convert.h
> +++ b/convert.h
> @@ -76,11 +76,16 @@ enum convert_crlf_action {
>  
>  struct convert_driver;
>  
> +struct ident_action {
> +	const char *id;
> +	size_t id_len;
> +};

Just out of curiousity, can we use strbuf instead of inventing new structure for this one? This struct is purely a string representation?

-- 
Danh
Previous: Maksym Sobolyev via GitGitGadgetNext: Junio C Hamano
Message 10 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.