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

Re: [PATCH] Allow the ident attribute to include a length specifier

From
APAndy Parkins <andyparkins@gmail.com>
Date
May 17, 2007, 13:53 UTC
Message-ID
<200705171453.32093.andyparkins@gmail.com>
In-Reply-To
<200705141405.29550.andyparkins@gmail.com>
On Monday 2007 May 14, Andy Parkins wrote:
Show 15 quoted lines
> When the ident attribute is found for a path, then git replaces $ident$
> with:
>
>   $ident: df2a1fd3ebce86876721bd7e12ce02ac89c885db $
>
> With this patch, you can put the following in your attribute file:
>
>   somepath ident=10
>
> And get expansions like this:
>
>   $ident: df2a1fd3eb $
>
> There is no change to existing behaviour.  With no parameter, the
> expansion is all 40 hex digits.

Were there any thoughts on this patch? I think it might have got drowned in the noise I made about $ident$ -> $Id$.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Andy ParkinsNext: Junio C Hamano
Message 13 of 14 in “Allow the ident attribute to include a length specifier”
  1. Allow the ident attribute to include a length specifierAndy Parkins, May 14, 2007
  2. Andy ParkinsMay 14, 2007
  3. Use $Id$ as the ident attribute keyword rather than $ident$ to be consistent with other VCSsAndy Parkins, May 14, 2007
  4. Johannes SixtMay 14, 2007
  5. Andy ParkinsMay 14, 2007
  6. Junio C HamanoMay 14, 2007
  7. Andy ParkinsMay 14, 2007
  8. Junio C HamanoMay 15, 2007
  9. Junio C HamanoMay 15, 2007
  10. Andy ParkinsMay 15, 2007
  11. Junio C HamanoMay 15, 2007
  12. Andy ParkinsMay 15, 2007
  13. Andy ParkinsMay 17, 2007
  14. Junio C HamanoMay 17, 2007

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.