xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit cd2a6a06d7867bb5da19108c6ab575e741b8b08e

Do not continue to show objects if repo returned an error
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-03-09 03:50
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-03-09 03:50
Parent(s): c76dd790a73e04318f0fc58b22d7701858e7dadf
Signing key:
Tree: 5fa214800d1712156d0c89c0a971020b8934873d
File Lines added Lines deleted
inc/user/repo-page.php 3 1
File inc/user/repo-page.php changed (mode: 100644) (index 9e191ae..e8bc46c)
... ... if (strcmp($_subop, "history") == 0) {
208 208 if ($log === FALSE) { if ($log === FALSE) {
209 209 $_repo_body .= rg_template("repo/not_init.html", $rg, $_repo_body .= rg_template("repo/not_init.html", $rg,
210 210 TRUE /*xss*/); TRUE /*xss*/);
211 $go_on = FALSE;
211 212 } else { } else {
212 213 //rg_log_ml("DEBUG: log: " . print_r($log, TRUE)); //rg_log_ml("DEBUG: log: " . print_r($log, TRUE));
213 214 $_repo_body .= rg_git_log_template($log, "repo/log", $rg); $_repo_body .= rg_git_log_template($log, "repo/log", $rg);
215 $go_on = TRUE;
214 216 } }
215 217
216 218 $type = array_shift($paras); $type = array_shift($paras);
217 219 //rg_log("DEBUG: log: type=$type"); //rg_log("DEBUG: log: type=$type");
218 if (strcmp($type, "commit") == 0) {
220 if ($go_on && (strcmp($type, "commit") == 0)) {
219 221 if (empty($paras)) if (empty($paras))
220 222 $commit = FALSE; $commit = FALSE;
221 223 else else
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master