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

Re: Something like $Id$, $Revision$ or $Date$?

From
dhruva <dhruvakm@gmail.com>
Date
Nov 10, 2008, 14:05 UTC
Message-ID
<e3f230850811100605u75eb811bidb8f36f62c3673ce@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0811101319570.30769@pacific.mpi-cbg.de>
Hi,

On Mon, Nov 10, 2008 at 5:55 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

> If that is not your use case, then it may be wise to let us Git people
> know what you _actually_ want (i.e. instead of asking for a specific
> solution, you could tell us what your problem is).

Since you have opened this topic to make a request with the problem, I have a problem for which I need $Id$ expansion.

The git-p4 tool does not record contents in $Id$. When I try to submit from git to p4 using git-p4, it does a 'p4 sync' which brings in modified files with $Id$ changes. When git-p4 tries to apply patches, it would not have recorded the change in $Id$. If there was a mechanism to make $Id$ change and tracked in git, it would have recorded a change as a hunk and the patch would have applied cleanly. I have posted this problem earlier and also on the #git channel. Hope to see some traction.

with best regards, dhruva

-- 
Contents reflect my personal views only!
Previous: Johannes SchindelinNext: Michal Nazarewicz
Message 8 of 18 in “Something like $Id$, $Revision$ or $Date$?”
  1. Michal NazarewiczNov 10, 2008
  2. Sverre RabbelierNov 10, 2008
  3. Michal NazarewiczNov 10, 2008
  4. dhruvaNov 10, 2008
  5. Michal NazarewiczNov 10, 2008
  6. Johannes SixtNov 10, 2008
  7. Johannes SchindelinNov 10, 2008
  8. dhruvaNov 10, 2008
  9. Michal NazarewiczNov 10, 2008
  10. Francis GaliegueNov 10, 2008
  11. Jakub NarebskiNov 10, 2008
  12. Michal NazarewiczNov 10, 2008
  13. Jakub NarebskiNov 10, 2008
  14. Michal NazarewiczNov 10, 2008
  15. Jakub NarebskiNov 10, 2008
  16. Francis GaliegueNov 10, 2008
  17. Jakub NarebskiNov 10, 2008
  18. Brian GernhardtNov 10, 2008

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.