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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,204 views 26 12
Join discussion

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