]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
Teach git-p4 to ignore case in perforce filenames if configured.
authorTor Arvid Lund <torarvid@gmail.com>
Tue, 15 Mar 2011 12:08:02 +0000 (13:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Mar 2011 23:07:15 +0000 (16:07 -0700)
commitd53de8b97de9d3c037c873cd8e01041cf9d51a39
tree5511e39913a8f21cc3903c1d6519e53e12537da3
parent99f790f22e2b2dabf00cf386339e829fe2bac6bc
Teach git-p4 to ignore case in perforce filenames if configured.

When files are added to perforce, the path to that file has whichever case
configuration that exists on the machine of the user who added the file.
What does that mean? It means that when Alice adds a file

//depot/DirA/FileA.txt

... and Bob adds:

//depot/dirA/FileB.txt

... we may or may not get a problem. If a user sets the config variable
git-p4.ignorecase to "true", we will consider //depot/DirA and //depot/dirA
to be the same directory.

Signed-off-by: Tor Arvid Lund <torarvid@gmail.com>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4