]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_mirror: avoid dir/file conflicts in update-ref
authorEric Wong <e@80x24.org>
Fri, 10 Feb 2023 03:58:52 +0000 (03:58 +0000)
committerEric Wong <e@80x24.org>
Fri, 10 Feb 2023 07:40:54 +0000 (07:40 +0000)
Using the files ref backend for git, `delete' and `create'
operations for `update-ref --stdin' need to be processed in
separate transactions to avoid conflicts in cases where a file
becomes a directory (or presumably, vice versa).


No differences found