| | |
| | |
|
| | | import com.gitblit.Constants;
|
| | | import com.gitblit.Constants.AccessRestrictionType;
|
| | | import com.gitblit.Gitblit;
|
| | | import com.gitblit.GitBlit;
|
| | | import com.gitblit.IStoredSettings;
|
| | | import com.gitblit.Keys;
|
| | | import com.gitblit.client.Translation;
|
| | |
| | |
|
| | | private final IStoredSettings settings;
|
| | |
|
| | | private final Gitblit gitblit;
|
| | | private final GitBlit gitblit;
|
| | |
|
| | | public GitblitReceivePack(
|
| | | Gitblit gitblit,
|
| | | GitBlit gitblit,
|
| | | Repository db,
|
| | | RepositoryModel repository,
|
| | | UserModel user) {
|
| | |
| | | this.settings = gitblit.getSettings();
|
| | | this.gitblit = gitblit;
|
| | | this.repository = repository;
|
| | | this.user = user == null ? UserModel.ANONYMOUS : user;
|
| | | this.user = user;
|
| | | this.groovyDir = gitblit.getHooksFolder();
|
| | | try {
|
| | | // set Grape root
|