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 Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

196 views 0 12
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