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

Re: update @version in file

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
May 13, 2009, 17:05 UTC
Message-ID
<vpqeiutrl09.fsf@bauges.imag.fr>
In-Reply-To
<200905131856.46344.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
> 2. If you wanted however to have *file* version (like in CVS), then it
>    is impossible because Git doesn't store such info

What could make sense is the commit id where the file was last modified (i.e. the first item that appears when one runs "git log" on the file). Not exactly as simple as it could be because of merge, but not completely meaningless either.

-- 
Matthieu
Previous: Jakub NarebskiNext: Andreas Ericsson
Message 7 of 10 in “update @version in file”
  1. takeshinMay 13, 2009
  2. Andreas EricssonMay 13, 2009
  3. takeshinMay 13, 2009
  4. Jakub NarebskiMay 13, 2009
  5. Dan LoewenherzMay 13, 2009
  6. Jakub NarebskiMay 13, 2009
  7. Matthieu MoyMay 13, 2009
  8. Andreas EricssonMay 13, 2009
  9. Jakub NarebskiMay 13, 2009
  10. Matthieu MoyMay 14, 2009

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.