Jonas Haag

Results 799 comments of Jonas Haag

Hmm that’s a good point although I think it can be surprising if you have accidentally checked out eg a feature branch.

> It will checkout HEAD unless told otherwise Wow, I didn't know that's already the case! Thanks for pointing that out. I think that will simplify things a lot.

> I think if you just browse to [git.example.com/foo](https://git.example.com/foo) you should see the same branch by default as if you did `git clone https://git.example.com/foo`. Which is foo.git/HEAD. I like the...

> This is already confusing, because with the current behaviour, if I don't use the "standard" branch names of "main", "master", "trunk", etc., every time somebody makes a new commit...

For bare repos we might want to go further and *always* show HEAD on the repo page. For non-bare repos, I'm not so sure.

Thanks for reporting and debugging! I don't understand what's the root cause here, can you please attempt to explain it a bit more elaborately?

@jelmer do you think this is a proper fix to this problem? I don’t have time to think about this right now so would trust your call

Thanks, that's helpful. I think in this case it's better to just disable the feature: the Docker container is meant for getting started quickly, not for production workloads, and the...