Mura Li 6ad834e236 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
2019-01-23 12:26:32 +02:00
..
2018-03-06 09:22:16 +08:00
2018-12-11 18:49:33 -05:00
2017-05-26 09:38:18 +08:00
2017-05-04 13:54:56 +08:00
2018-10-27 22:45:24 +08:00
2018-05-09 19:29:04 +03:00
2014-04-13 03:14:43 -04:00
2018-10-25 18:55:16 +08:00
2019-01-13 14:06:22 -05:00
2019-01-23 12:26:32 +02:00
2017-10-27 09:10:54 +03:00
2018-10-26 12:37:57 +03:00
2018-05-19 17:12:37 +03:00
2018-05-19 17:12:37 +03:00
2018-10-23 10:57:42 +08:00
2018-10-20 18:19:21 -04:00
2019-01-09 12:22:57 -05:00
2018-10-19 12:36:42 -04:00