forgejo/modules/git
Mario Lubenka a37236314c Adds side-by-side diff for images (#6784)
* Adds side-by-side diff for images

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Explain blank imports

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use complete word for width and height labels on image compare

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update index.css from master

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Moves ImageInfo to git commit file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Assign ImageInfo function for template and sets correct target for BeforeSourcePath

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds missing comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Return error if ImageInfo failed

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Avoid template panic when ImageInfo failed for some reason

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show file size on image diff

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes unused helper function

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Reverts copyright year change

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Close file reader

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Update commit.go

Sets correct data key

* Moves reader.Close() up a few lines

* Updates index.css

* Updates CSS file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Transfers adjustments for image compare to compare.go file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts variable name

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Apply lesshint recommendations

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Do not show old image on image compare if it is not in index of base commit

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Change file size text

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
2019-09-16 17:03:22 +08:00
..
tests/repos Fix reading git notes from nested trees (#8026) 2019-09-12 09:14:41 +08:00
blame.go
blame_test.go
blob.go
blob_test.go
cache.go
command.go
command_test.go
commit.go Adds side-by-side diff for images (#6784) 2019-09-16 17:03:22 +08:00
commit_archive.go
commit_info.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
commit_info_test.go Fix empty commits now showing in repo overview (#7521) 2019-07-22 15:03:15 +03:00
commit_test.go
error.go
git.go
git_test.go
hook.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
notes.go Fix reading git notes from nested trees (#8026) 2019-09-12 09:14:41 +08:00
notes_test.go Fix reading git notes from nested trees (#8026) 2019-09-12 09:14:41 +08:00
parse.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
parse_test.go
README.md
ref.go
repo.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_blame.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_blob.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_blob_test.go
repo_branch.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo_branch_test.go
repo_commit.go Search Commits via Commit Hash (#7400) 2019-09-02 19:38:04 -04:00
repo_commit_test.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo_commitgraph.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_compare.go Do not fetch all refs (#7797) 2019-08-13 11:30:44 +03:00
repo_compare_test.go
repo_hook.go
repo_index.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo_object.go
repo_ref.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
repo_ref_test.go
repo_stats.go
repo_stats_test.go Added missing error checks in tests (#7554) 2019-07-23 20:28:43 +01:00
repo_tag.go Strict name matching for Repository.GetTagID() (#8074) 2019-09-04 08:48:17 +03:00
repo_tag_test.go Strict name matching for Repository.GetTagID() (#8074) 2019-09-04 08:48:17 +03:00
repo_test.go
repo_tree.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
sha1.go
signature.go
submodule.go
submodule_test.go
tag.go
tree.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
tree_blob.go Removed unnecessary conversions (#7557) 2019-07-23 19:50:39 +01:00
tree_entry.go Include "executable" files in the index, as they are not necessarily binary (#7718) 2019-08-02 23:14:50 +08:00
tree_entry_test.go
utils.go

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.