mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:49:20 +08:00
62f2d717b7
Backport https://github.com/go-gitea/gitea/pull/28794
Fixes #22236
---
Error occurring currently while trying to revert commit using read-tree
-m approach:
> 2022/12/26 16:04:43 ...rvices/pull/patch.go:240:AttemptThreeWayMerge()
[E] [63a9c61a] Unable to run read-tree -m! Error: exit status 128 -
fatal: this operation must be run in a work tree
> - fatal: this operation must be run in a work tree
We need to clone a non-bare repository for `git read-tree -m` to work.
|
||
---|---|---|
.. | ||
commits_search_test.git | ||
commitsonpr.git | ||
git_hooks_test.git | ||
glob.git | ||
lfs.git | ||
readme-test.git | ||
repo1.git | ||
repo1.wiki.git | ||
repo2.git | ||
repo15.git | ||
repo16.git | ||
repo20.git | ||
repo-release.git | ||
test_commit_revert.git | ||
utf8.git |