RE: [PATCH 2/2] Demonstrate merge failure when a directory is replaced with a symlink.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 29, 2009, Michael J Gruber<git@xxxxxxxxxxxxxxxxxxxx> wrote:
> In fact they are identical: Exchange b for b-2 and vice versa everywhere
> and you get the same test, except for the fact that in 1/2 you "test -f"
> in the last step. But I'm sure that test fails at the merge step already
> (because of a dirty worktree), doesn't it? You should see this when
> running the test with -d/-v. (I'm guessing, I haven't run your test.)

<snip>

> As in 1/2, I think the first expect_failure leaves a dirty/unexpected
> worktree (d missing) which causes the merge failure in the last step.

That's true, but this test still fails even after applying Kjetil's patch
that fixes the first problem (so the work tree is clean before 'git merge'
is run).

James
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]