Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor editor upload, update and delete to use git plumbing and add LFS support #5702
When uploading files using the GUI, Gitea currently does:
a) A full clone - Including the whole object DB
This is extremely inefficient.
This PR takes a different approach and, instead of using the git porcelain commands (git add and the like), uses the plumbing commands to (hopefully) significantly speed up this process. See my comments in #601 (#601 (comment)).
The basics of this code was in #5621, however, there has been significant refactoring with code moved out of
referenced this pull request
Jan 11, 2019
@@ Coverage Diff @@ ## master #5702 +/- ## ========================================= Coverage ? 38.82% ========================================= Files ? 344 Lines ? 49355 Branches ? 0 ========================================= Hits ? 19163 Misses ? 27428 Partials ? 2764