diff options
author | 6543 <6543@obermui.de> | 2022-07-29 15:37:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 15:37:18 +0200 |
commit | 210b096da72acacbddc28d65f6ce2502772307f1 (patch) | |
tree | d78f8ea944c98296960491eec4a3d81fa49756ce /templates/user | |
parent | d6bc1558c6e2d13e35925239efde4c6a687fbd79 (diff) | |
download | gitea-210b096da72acacbddc28d65f6ce2502772307f1.tar.gz gitea-210b096da72acacbddc28d65f6ce2502772307f1.zip |
Ensure that all unmerged files are merged when conflict checking (#20528) (#20536)
There is a subtle bug in the code relating to collating the results of
`git ls-files -u -z` in `unmergedFiles()`. The code here makes the
mistake of assuming that every unmerged file will always have a stage 1
conflict, and this results in conflicts that occur in stage 3 only being
dropped.
This PR simply adjusts this code to ensure that any empty unmergedFile
will always be passed down the channel.
The PR also adds a lot of Trace commands to attempt to help find future
bugs in this code.
Fix #19527
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/user')
0 files changed, 0 insertions, 0 deletions