Hmm. I'm getting this message annoyingly often, simply because a few files that used to be tracked are now generated, and so they exist in my tree but are no longer tracked. However, they may be tracked in an older tree that I pull, because in that older tree they _do_ exist, and we get the fatal: Untracked working tree file 'so-and-so' would be overwritten by merge. which is actually incorrect, because the merge result will not even _contain_ that untracked file any more. So the message is misleading - we should only consider this a fatal thing if we actually do generate that file as part of a git-read-tree, but if a merge won't touch a file, it shouldn't be "overwritten". It's true that if the _other_ end actually removed a file that we used to have (ie the file _disappears_ as part of the merge), then we should verify that that file matched what we're going to remove, but if the old index didn't contain the file at all, and the new index won't contain it either, it really should be a no-op. IOW, I think there is one "verify_absent()" too many somewhere, where we check this unnecessarily. I think it's the one in "deleted_entry()" in unpack-trees.c, but I'm not sure. Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Glauber de Oliveira Costa | [PATCH 5/25] [PATCH] native versions for system.h functions |
| Paul Menage | Re: [RFC][PATCH 6/7] Account for the number of tasks within container |
| Tejun Heo | [PATCHSET] CUSE: implement CUSE |
| Al Boldi | Re: CFS review |
git: | |
| Ken Pratt | pack operation is thrashing my server |
| Linus Torvalds | Re: git and time |
| Michael Witten | Re: Proposed git mv behavioral change |
| Johannes Schindelin | Re: I'm a total push-over.. |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Bertram Scharpf | First install: Grub doesn't find partitions |
| Chris Bullock | OpenBSD isakmpd and pf vs Cisco PIX or ASA |
| Axton | Re: rouge IPs / user |
| hooanon05 | [PATCH 62/67] aufs magic sysrq handler |
| David Howells | [PATCH 06/17] BLOCK: Move bdev_cache_init() declaration to headerfile [try #2] |
| Miklos Szeredi | [PATCH] update ctime and mtime for mmaped write |
| Linus Torvalds | Re: silent semantic changes with reiser4 |
