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

Re: [PATCH] Optional shrinking of RCS keywords in git-p4

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 15, 2008, 06:17 UTC
Message-ID
<7v4p4iexw0.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1221458331-8804-1-git-send-email-dhruva@ymail.com>
Dhruva Krishnamurthy <dhruva@ymail.com> writes:
> Modifying RCS keywords prevents submitting to p4 from git due to missing hunks.
Hmm.  How are "missing hunks" caused?  Do you mean:
 - the substituted values from the expanded keywords are stripped out by
   default (with kwstrip=True) when you check out from p4;
 - when you submit your changes back, p4 side expects you to send the file
   with keywords just as it originally expanded;
and this causes the contents mismatch, leading p4 to reject your change?

The patch itself looks fine; I just wanted to make sure commit log explains what was fixed.

Previous: David Brown
Message 3 of 3 in “Optional shrinking of RCS keywords in git-p4”
  1. Optional shrinking of RCS keywords in git-p4Dhruva Krishnamurthy, Sep 15, 2008
  2. David BrownSep 15, 2008
  3. Junio C HamanoSep 15, 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.