Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS source control case sensitivity

Tags:

tfs

git-tfs

TFS has a funny habit of mixing up case in folders. For example, some developers might check in $/FooBar/readme.txt while others may check in $/Foobar/readme.txt.

Is there anyway to force TFS to treat files/folders as case-sensitive?

For example, if a folder $/FooBar/ already exists, when someone adds $/foobar/readme2.txt, the folder casing would be updated to be $/FooBar/readme2.txt since that already exists.

For the most part users won't notice this, but internally in the TFS database, this can cause confusion in other tools (like git-tfs).

like image 920
syvex Avatar asked Mar 19 '12 19:03

syvex


1 Answers

Unfortunately once a folder has been checked-in its case remains persistent in TFS.

The workaround is to rename:

tf rename $Project//FooBar $/Project/foobar/

Source: http://kb.teamprise.com/article/view/52

like image 82
KMoraz Avatar answered Sep 23 '22 12:09

KMoraz