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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

414 views 5 9
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