finish fixing direct mode merge bug involving unstaged local files
Added test cases for both ways this can happen, with a conflict involving a file, or a directory. Cleaned up resolveMerge to not touch the work tree in direct mode, which turned out to be the only way to handle things.. And makes it much nicer. Still need to run test suite on windows.
This commit is contained in:
parent
19475fd0ab
commit
4a847cdc08
4 changed files with 92 additions and 78 deletions
|
@ -10,3 +10,5 @@ is not checked into git, the merge will overwrite it with the remote file from g
|
|||
New problem: If the merge pulls in a directory, and a file exists with
|
||||
the name of the directory, locally, not annexed, the file is left alone,
|
||||
but the directory is thus not checked out, and will be deleted on commit.
|
||||
|
||||
> [[fixed|done]]; regression test in place. --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue