0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 11:44:47 +01:00
No description https://gitea.io
Find a file
typeless 937b4b5aa1 Speed up conflict checking in pull request creation (#276)
* Speed up conflict checking in pull request creation

In order to check conflicts of a PR, we set up a working tree by
cloning the base branch, which is quite time-consuming when the repository is huge.
Instead, this PR uses `git read-tree` and `git apply --check --cached` to check conflicts.

For #258

* Use $GIT_INDEX_FILE instead of --index-output to avoid lockfile problem

The lockfile gets renamed to the final destination after the operation
finishes. But it must be located in the same filesystem, which prevents
us from using /tmp.

* Temporary file names should not prefixed with '-'
2016-12-29 22:59:52 +08:00
.github
cmd
conf
docker
models Speed up conflict checking in pull request creation (#276) 2016-12-29 22:59:52 +08:00
modules
options
public
routers
scripts
templates
vendor
.dockerignore
.drone.yml
.drone.yml.sig
.editorconfig
.gitattributes
.gitignore
.lgtm
CHANGELOG.md
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.rpi
LICENSE
main.go
MAINTAINERS
Makefile
README.md
README_ZH.md

简体中文

Gitea - Git with a cup of tea

Build Status Join the chat at https://gitter.im/go-gitea/gitea Coverage Status Go Report Card GoDoc Release

Dashboard Repository Commits History
Profile Admin Dashboard Diff
Issues Releases Organization

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across all platforms that Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it online!

Notes

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you found a vulnerability in the project, please write privately to security@gitea.io. Thanks!
  3. If you're interested in using our APIs, we have experimental support with documentation.

Docs

For further information or instructions how to install Gitea please take a look at our documentation, if you can not find some specific information just head over to our Gitter channel to have a chat with us.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the MIT License. See the LICENSE file for the full license text.