gitea/modules/git
zeripath 0198bbedc1
Allow compare page to look up base, head, own-fork, forkbase-of-head ()
* Allow compare page to look up base, head, own-fork, forkbase-of-head

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @guillep2k

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update routers/repo/compare.go

* as per @guillep2k

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Rationalise the names a little

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Rationalise the names a little (2)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix 500 with fork of fork

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Prevent 500 on compare different trees

Signed-off-by: Andrew Thornton <art27@cantab.net>

* dotdotdot is perfectly valid in both usernames and repo names

Signed-off-by: Andrew Thornton <art27@cantab.net>

* ensure we can set the head and base repos too

Signed-off-by: Andrew Thornton <art27@cantab.net>

* ensure we can set the head and base repos too (2)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* only set headRepo == baseRepo if isSameRepo

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
pipeline
tests/repos
README.md
blame.go Graceful: Cancel Process on monitor pages & HammerTime ()
blame_test.go
blob.go Migrate to go-git/go-git v5.0.0 ()
blob_test.go Add Close() method to gogitRepository ()
cache.go Migrate to go-git/go-git v5.0.0 ()
command.go Support unicode emojis and remove emojify.js ()
command_test.go Fix nondeterministic behavior ()
commit.go Allow compare page to look up base, head, own-fork, forkbase-of-head ()
commit_archive.go Make archive prefixing configurable with a global setting ()
commit_info.go Migrate to go-git/go-git v5.0.0 ()
commit_info_test.go Add gitea-vet ()
commit_reader.go Migrate to go-git/go-git v5.0.0 ()
commit_test.go
diff.go Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments ()
diff_test.go Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments ()
error.go Handle push rejection in branch and upload ()
git.go Graceful: Xorm, RepoIndexer, Cron and Others ()
git_test.go Graceful: Xorm, RepoIndexer, Cron and Others ()
hook.go
notes.go Migrate to go-git/go-git v5.0.0 ()
notes_test.go Add Close() method to gogitRepository ()
parse.go Migrate to go-git/go-git v5.0.0 ()
parse_test.go Migrate to go-git/go-git v5.0.0 ()
ref.go
repo.go Handle push rejection in branch and upload ()
repo_attribute.go Make repository management section handle lfs locks ()
repo_blame.go
repo_blob.go Migrate to go-git/go-git v5.0.0 ()
repo_blob_test.go Add Close() method to gogitRepository ()
repo_branch.go Migrate to go-git/go-git v5.0.0 ()
repo_branch_test.go Add Close() method to gogitRepository ()
repo_commit.go Convert plumbing.ErrObjectNotFound to git.ErrNotExist in getCommit ()
repo_commit_test.go Add Close() method to gogitRepository ()
repo_commitgraph.go Migrate to go-git/go-git v5.0.0 ()
repo_compare.go Allow compare page to look up base, head, own-fork, forkbase-of-head ()
repo_compare_test.go Remove SavePatch and generate patches on the fly ()
repo_gpg.go
repo_hook.go
repo_index.go
repo_language_stats.go Migrate to go-enry new version ()
repo_object.go
repo_ref.go Migrate to go-git/go-git v5.0.0 ()
repo_ref_test.go Add Close() method to gogitRepository ()
repo_stats.go Add top author stats to activity page ()
repo_stats_test.go Add top author stats to activity page ()
repo_tag.go Migrate to go-git/go-git v5.0.0 ()
repo_tag_test.go [API] enable paggination for ListRepoTags ()
repo_test.go Add Close() method to gogitRepository ()
repo_tree.go
sha1.go [API] Get a single commit via Ref ()
signature.go Migrate to go-git/go-git v5.0.0 ()
submodule.go Manage port in submodule refurl ()
submodule_test.go Fix submodule paths when AppSubUrl is not root ()
tag.go
tree.go Migrate to go-git/go-git v5.0.0 ()
tree_blob.go Migrate to go-git/go-git v5.0.0 ()
tree_entry.go Migrate to go-git/go-git v5.0.0 ()
tree_entry_test.go Migrate to go-git/go-git v5.0.0 ()
utils.go Move mirror sync actions to notification ()

README.md

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.