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 24f863dcb0cbc5def61e820f9aa2368e61cce860

Do not give internal errors if commit ID is wrong
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-04-24 10:48
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-04-24 10:48
Parent(s): cc493d13f83fd121cee56d7e0da1ec742d37b774
Signing key:
Tree: b0be18c279fe7c4b28a15104a0817c88c0edf558
File Lines added Lines deleted
inc/user/repo-page.php 2 2
File inc/user/repo-page.php changed (mode: 100644) (index 2e9c727..323f3e7)
... ... if (strcmp($_subop, "history") == 0) {
235 235 else else
236 236 $commit = rg_git_reference($paras[0]); $commit = rg_git_reference($paras[0]);
237 237 if ($commit === FALSE) { if ($commit === FALSE) {
238 rg_internal_error("Invalid commit"
238 rg_log("Invalid commit"
239 239 . " [" . $paras[0] . "]." . " [" . $paras[0] . "]."
240 240 . " Make it empty."); . " Make it empty.");
241 241 // TODO: give an error on the page?! // TODO: give an error on the page?!
242 $commit = "";
242 $commit = '';
243 243 } }
244 244 rg_log("Show diff for commit [$commit]"); rg_log("Show diff for commit [$commit]");
245 245
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