diff options
author | Mura Li <typeless@users.noreply.github.com> | 2019-01-23 18:26:32 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-01-23 12:26:32 +0200 |
commit | 6ad834e236756e7ba3de27e59681080a7ec4fcf1 (patch) | |
tree | b895366897ed3d5f05b64f3f4543f39d00ec6d99 /templates/repo/issue/milestones.tmpl | |
parent | 7d434376f1504ff64f249b879634ac2eec9440da (diff) | |
download | gitea-6ad834e236756e7ba3de27e59681080a7ec4fcf1.tar.gz gitea-6ad834e236756e7ba3de27e59681080a7ec4fcf1.zip |
Optimize pulls merging (#4921)
* Optimize pulls merging
By utilizing `git clone -s --no-checkout` rather than cloning the whole
repo.
* Use sparse-checkout to speedup pulls merge
* Use bytes.Buffer instead of strings.Builder for backward compatibility
* Fix empty diff-tree output for repos with only the initial commit
* Fix missing argument for the format string
* Rework diff-tree-list generation
* Remove logging code
* File list for sparse-checkout must be prefix with /
Otherwise, they would match all files with the same name under
subdirectories.
* Update onto the rebased head
* Use referecen repo to avoid fetching objects
Diffstat (limited to 'templates/repo/issue/milestones.tmpl')
0 files changed, 0 insertions, 0 deletions