Can Stash handle git requests missing ".git" extension?

We're evaluating Stash to replace an existing git server. One of the testers has identified that our current server will allow access to a repo with or without ".git", e.g. fred and fred.git both reference fred.git. However, Stash doesn't - it insists on the name matching exactly.

Is there a configuration setting or a plugin that will allow Stash to match repo paths with or without .git on the end?

Thanks.

2 answers

1 accepted

1 vote
Jason Hinch Atlassian Team May 19, 2014

This is currently the case with SSH but not for HTTP. For HTTP you can omit the extension. I've raised https://jira.atlassian.com/browse/STASH-4744to track this inconsistency

Thanks, Jason. The git:// protocol also has the same problem so I've submitted a bug report on the BitBucket site for the plugin.

By way of further explanation, it would appear that some of the manifest files we are using with the repo tool come from sources outside of our control, e.g. from Android:

https://android.googlesource.com/platform/manifest/+/android-4.4.2_r2/default.xml

As a result, we cannot edit the files to add the missing extension.

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,397 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