Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trees och CommitRequest behöver hantera tomma repon #170

Open
jesjos opened this issue May 16, 2012 · 1 comment
Open

Trees och CommitRequest behöver hantera tomma repon #170

jesjos opened this issue May 16, 2012 · 1 comment

Comments

@jesjos
Copy link
Member

jesjos commented May 16, 2012

Något pajar i TreesControllern när man hämtar filer från tomma repon.
Det händer även något konstigt när man gör första CommitRequesten till ett tomt repo. Får inget WebSocket-kvitto.

@jesjos
Copy link
Member Author

jesjos commented May 27, 2012

Github verkar sköta detta genom att inte tillåta git clone före first commit, och genom att kolla av om det finns en first commit när trädet ska renderas. Om inte så renderar dom en "så gör du en first commit"-vy. Ngt liknande vore bra.
Alternativt: gör som Github har börjat göra och erbjud att generera en first commit med en readme-fil bara.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant