b8270240bf
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.
|
||
---|---|---|
.. | ||
archiver | ||
files | ||
adopt.go | ||
adopt_test.go | ||
avatar.go | ||
avatar_test.go | ||
branch.go | ||
cache.go | ||
check.go | ||
collaboration.go | ||
collaboration_test.go | ||
commit.go | ||
create.go | ||
create_test.go | ||
delete.go | ||
delete_test.go | ||
fork.go | ||
fork_test.go | ||
hooks.go | ||
lfs.go | ||
lfs_test.go | ||
main_test.go | ||
push.go | ||
repository.go | ||
repository_test.go | ||
review.go | ||
review_test.go | ||
setting.go | ||
template.go | ||
transfer.go | ||
transfer_test.go |