yuki-kimoto / gitprep

Portable GitHub system into your own server
http://gitprep.yukikimoto.com/
906 stars 118 forks source link

Cannot browse repo with no 'master' branch #158

Closed brainchild0 closed 1 year ago

brainchild0 commented 4 years ago

I believe I identified a bug.

Steps to reproduce: It is easy for me to reproduce with the follow steps:

  1. Create new repository with default settings.
  2. Push branch not named 'master'. Do not push a branch named 'master'.
  3. Navigate browser to repository location.

Expected behavior: Some combination of the following should occur:

Actual behavior: All of the following occur:

Affected version: aec5159.

emil-perhinschi commented 1 year ago

this was fixed in pull request https://github.com/yuki-kimoto/gitprep/pull/190 , I think it can be closed

brainchild0 commented 1 year ago

I can't test myself, at the moment. I believe the steps for reproducing are clear, so it should be fine for anyone to determine that the fix is correct.

yuki-kimoto commented 1 year ago

Thanks for comments. I decide to close this issue.