summaryrefslogtreecommitdiffstats
path: root/models/git_diff.go
Commit message (Collapse)AuthorAgeFilesLines
* Expand documentationsSandro Santilli2016-11-241-16/+16
|
* Lint git_diff.goSandro Santilli2016-11-241-6/+26
| | | | Semi-automatic linting (don't really document things)
* Normalize files with gofmtThibault Meyer2016-11-111-2/+2
|
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-6/+6
| | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* This one I overlooked beforeSandro Santilli2016-11-071-4/+4
|
* More MixedCase constsSandro Santilli2016-11-071-29/+29
|
* Replace gogits/git-module dependency with go-gitea/git (#94)Sandro Santilli2016-11-061-1/+1
| | | | | | | | * Replace gogits/git-module dependency with go-gitea/git Fixes #92 * Remove git alias for git module import (not needed)
* Fix imports found by goimports.Matthias Loibl2016-11-051-6/+4
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-5/+5
|
* #3464 add diff signs which does not have inline diffUnknwon2016-08-161-2/+2
|
* #3464 reproduce diff signsUnknwon2016-08-161-1/+10
| | | | Commited wrong file.
* Web editor: improve edit file and diff previewUnknwon2016-08-141-1/+1
|
* Improve diff highlight (#3390)Andrey Nering2016-08-071-28/+54
| | | | | | - Try to reduce memory allocations - Add possibility to disable diff highlight (can improve performance for large diffs) - Tweaking with cost for prettier (cleaner) diffs - Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
* #3345 dump content directly to HTTP ResponseWriterUnknwon2016-07-301-13/+23
|
* Diff patch (#3345)Dennis Chen2016-07-301-2/+46
| | | | | | | | | | | | | | | | * Add support for .diff and .patch Add the ability to get text-diff and format-patch by adding .diff or .patch in the end of a commit url. Issue #2641 * models: git_diff: various fixes * Renames commitId to commitID. * Writes stderr to a bytes.Buffer and displays proper error message on command failure. * Various style changes. Signed-off-by: Dennis Chen <barracks510@gmail.com>
* add IsSubmodule field to DiffFile and hide view file button on diff page for ↵Siarhei Navatski2016-07-231-1/+5
| | | | submodules (#3097)
* Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)Andrey Nering2016-06-291-22/+23
|
* Little refactoring of diff highlight.Andrey Nering2016-02-211-5/+1
| | | | Moving cache variable to template instead of in the struct.
* Enable sintax highlighting on diff view. Close #733Andrey Nering2016-02-041-0/+9
|
* Refactoring of inline diff computing to prevent empty diff box. Fix #2489Andrey Nering2016-01-271-31/+30
|
* roll back a small changeUnknwon2016-01-091-1/+2
|
* minor fix to #2335Unknwon2016-01-091-23/+32
|
* Fix: now highlights in diff view are getting the correct lines.Andrey Nering2016-01-081-22/+18
|
* Semantic fixes.Andrey Nering2016-01-071-11/+11
|
* Declaring specific types for enums constants.Andrey Nering2016-01-061-14/+21
| | | | | This makes the code more strict since you can't assign or compare values of different types without proper cast.
* Highlighting differences of lines in the diff view.Andrey Nering2016-01-061-0/+85
|
* #2185 fall back to use custom chardet libUnknwon2015-12-311-2/+2
|
* rename import pathUnknwon2015-12-151-1/+1
|
* fix huge diff hangsUnknwon2015-12-141-0/+2
|
* #2185 use Go sub-repo to detect encodingUnknwon2015-12-131-2/+2
|
* #2071 Diff is not showing full content when has super long one lineUnknwon2015-12-021-54/+72
|
* better escape char handleUnknwon2015-11-201-5/+5
|
* rename fieldsUnknwon2015-11-031-1/+1
|
* #1838 update merge base before generate new patchUnknwon2015-11-031-3/+1
|
* fix #1078Unknwon2015-11-021-12/+28
|
* #1790 fast return for too large diffUnknwon2015-10-171-11/+3
|
* more on #966Unknwon2015-08-201-0/+6
|
* Partial impl of git diff encodingVladimir Vissoultchev2015-07-291-20/+23
|
* Allow spaces in file/dir names on parsing git diffVladimir Vissoultchev2015-07-281-2/+2
|
* Link to previous commited source file (diff.view_file button) instead of ↵Tony Tsang2015-02-061-0/+8
| | | | returning 404 for deleted files.
* Replace mahonia with the standard functions in the Golang Sub-repositoriesPeter Smit2014-12-221-6/+12
|
* fix #711Unknwon2014-12-091-0/+25
|
* toutf8 improved & add max git diff lineslunnyxiao2014-09-171-12/+22
|
* Prepare 0.5 releaseUnknwon2014-09-121-2/+1
|
* add commit compare functionalityChristopher Brickley2014-09-011-8/+17
|
* New UI merge in progressUnknwon2014-07-261-4/+5
|
* Able to set timeout for process monitorUnknown2014-07-061-6/+23
|
* Basic process managerUnknown2014-06-191-7/+6
|
* Fix zombieUnknown2014-05-281-22/+19
|
* Fix #166Unknown2014-05-131-0/+2
|