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

Git variable expansion when pulling ?

From
GSgabriel staffelbach <gabriel.staffelbach@cerfacs.fr>
Date
Jan 31, 2014, 17:43 UTC
Message-ID
<79E8887F-E7DD-4AA5-945B-10D86F317340@cerfacs.fr>

Hi , I’ve just setup a variable expansion scheme via the attribues filters for our versioning purposes. I do realise there is much debate on whether to do this or not but it is an indispensable part for our code.

However i just realised the filters are not executed if we update the code via a pull command and the file with the metadata is not modified . 
Is there a correct way to have the filter execute even for a pull and update the Git sha1 info in our log file ? 
Thanks
Gabriel
Message 1 of 1 in “Git variable expansion when pulling ?”
  1. gabriel staffelbachJan 31, 2014

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.