Rewrite and improve git backend logic. Fix project movind. Raise exception to prevent unexpected issues

This commit is contained in:
Dmitriy Zaporozhets 2012-11-27 09:31:15 +03:00
parent 70bf7f6e19
commit f5551efdfd
20 changed files with 146 additions and 99 deletions

View file

@ -1,3 +1,3 @@
- if current_user.require_ssh_key?
%p.error_message
You won't be able to pull or push project code until you #{link_to 'add an SSH key', new_key_path} to your profile
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_key_path} to your profile