Skip to content

Commit 2d71bde

Browse files
iabervongitster
authored andcommitted
In perforce, RCS keywords are case-sensitive
At least, this is true in 2007.2, according to the documentation. Signed-off-by: Daniel Barkalow <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8f0359f commit 2d71bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/fast-import/git-p4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ class P4Sync(Command):
906906
if stat['type'] in ('text+ko', 'unicode+ko', 'binary+ko'):
907907
text = re.sub(r'(?i)\$(Id|Header):[^$]*\$',r'$\1$', text)
908908
elif stat['type'] in ('text+k', 'ktext', 'kxtext', 'unicode+k', 'binary+k'):
909-
text = re.sub(r'(?i)\$(Id|Header|Author|Date|DateTime|Change|File|Revision):[^$]*\$',r'$\1$', text)
909+
text = re.sub(r'\$(Id|Header|Author|Date|DateTime|Change|File|Revision):[^$]*\$',r'$\1$', text)
910910

911911
contents[stat['depotFile']] = text
912912

0 commit comments

Comments
 (0)