Hi David, [please Cc me, since I will be more likely to miss replies if you do not] On Tue, 3 Jul 2007, David Kastrup wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > > > But maybe they would be willing to install git to get that wonderful > > git-apply program, and that wonderful rename-and-mode-aware git-diff, > > and the git-merge-file program, all of which can operate outside of a > > git repository. (Take that, hg!) > > As long as git-diff lists all added files in a second non-git dirtree > as "/dev/null" when doing > git-diff --name-status -B -M -C dir1 dir2 > its usefulness is limited. > > git-diff --name-status -B -M -C dir1 dir2 > D dir1/auctex-11.84/CHANGES > D dir1/auctex-11.84/COPYING > D dir1/auctex-11.84/ChangeLog > > [...] Yes, directories are a problem. There our DWIMery does not really help. But there is a solution: say git diff --name-status --no-index -B -M -C dir1 dir2 Hth, Dscho - 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