{"thread":{"id":"15550","subject":"Re: [PATCH] Optional shrinking of RCS keywords in git-p4","startedAt":"2008-09-16T13:33:40Z","lastAt":"2008-09-16T13:33:40Z","messageCount":1,"participants":["dhruva"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"90833","messageId":"410359.9532.qm@web95013.mail.in2.yahoo.com","threadId":"15550","inReplyTo":null,"subject":"Re: [PATCH] Optional shrinking of RCS keywords in git-p4","fromName":"dhruva","fromEmail":"dhruva@ymail.com","sentAt":"2008-09-16T13:33:40Z","receivedAt":"2008-09-16T13:33:40Z","isPatch":true,"sender":{"key":"dhruva@ymail.com","avatar":null},"body":"Hello,\n\n\n\n----- Original Message ----\n> From: Jing Xue <jingxue@digizenstudio.com>\n> To: David Brown <git@davidb.org>\n> Cc: Daniel Barkalow <barkalow@iabervon.org>; Junio C Hamano <gitster@pobox.com>; dhruva <dhruva@ymail.com>; GIT SCM <git@vger.kernel.org>; Simon Hausmann <simon@lst.de>\n> Sent: Tuesday, 16 September, 2008 6:28:56 PM\n> Subject: Re: [PATCH] Optional shrinking of RCS keywords in git-p4\n> \n> On Mon, Sep 15, 2008 at 09:12:01PM -0700, David Brown wrote:\n> > A simple way to be paranoid would be something (shell-ish) like:\n> >\n> >   p4 print filename | collapse-keywords | git hash-object --stdin\n> >\n> \n> How about collapsing the keywords in the _p4_ version after \"p4 edit\"\n> but before applying the patch, and just \"p4 submit\" the collapsed\n> version if patching succeeds? As pointed out earlier in this thread, p4\n> submit doesn't care about whether keywords are expanded or not anyway.\n\nThat is feasible but would require more changes. I still feel having an option to disable the keyword from collapsing is a move forward followed by your suggestion as a bug fix to fix the issue with 'p4 submit' when rcs keywords are collapsed. Would that be an acceptable approach?\n\n-dhruva\n\n\n\n      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/\n"}]}