Skip to content
This repository has been archived by the owner on Jul 26, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' of dev.gitlabhq.com:gitlabhq
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Zaporozhets committed Nov 22, 2011
2 parents b560241 + a4fbe13 commit 7ebba27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ ssh-keygen -t rsa
sudo -H -u git gitosis-init < ~/.ssh/id_rsa.pub

sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update

cd /tmp && git clone git@localhost:gitosis-admin.git

rm -rf gitosis-admin.git && cd
```

## Install ruby 1.9.2
Expand Down
2 changes: 1 addition & 1 deletion app/models/key.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Key < ActiveRecord::Base
validates :key,
:presence => true,
:uniqueness => true,
:length => { :within => 0..1600 }
:length => { :within => 0..5000 }

before_save :set_identifier
after_save :update_gitosis
Expand Down
1 change: 1 addition & 0 deletions app/views/keys/create.js.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
:plain
$("#new_key_dialog").dialog("close");
$("#keys-table").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}");
$("#no_ssh_key_defined").hide();
- else
:plain
$("#new_key_dialog").empty();
Expand Down

0 comments on commit 7ebba27

Please sign in to comment.