It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Philip Colmer May 15, 2014

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?


2 answers

1 accepted

1 vote
Answer accepted
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 track this inconsistency

Philip Colmer May 19, 2014

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

0 votes
Philip Colmer May 18, 2014

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:

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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published 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 R...

1,615 views 1 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you