Bitbucket Server case sensitive (Debian) - Client ignores case sensitivity (Windows) Edited

So, windows directories aren't case sensitive; other OSes are. This can cause subtle issues with git, when serving widows clients with bitbucket server on linux.

Default Sourcetree & git configuration is: core.ignorecase=true. This basically aliases all directories with the same name, but different case. New files will be added with whatever case the user has, modified files will retain case, and the client will have no idea there are case differences at all. When viewing in Bitbucket the files will be split between the directories with different case, but will always appear as one on the client.

My question is whether the core.ignorecase=true configuration is available on Bitbucket Server and if this is a good/bad idea to use?

I can think of a couple other ways to mitigate these issues:

  • "Just don't do it". Keep cases consistent. The problem was introduced by code not developed under source control, added later; this would be much harder to do if the directory was cloned
  • Set core.ignorecase=false; this would make it more obvious that something funny is going on

Any opinions on the best way to handle these annoyances? I know other users have encountered this in the past.

Edit: Said Bitbucket instead of Sourcetree

0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

699 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot