On Mon, 26 Mar 2007, Daniel Barkalow wrote:
So, I had the nutty idea that it would be convenient if I could make different files in a single directory come from different projects. But I can't think of a sane user interface, so I think that this isn't practical from that direction, so it's probably not worth worrying about from the data structure end, either. (Answer for the usecase: "ln -s make/Makefile Makefile; git add Makefile", and mock systems that don't handle symlinks).
this would definantly be useful (managing files in /etc or /home are easy examples
for this sort of thing doing 'git add file -index project' would be a fair first-cut at a UI. later on how about creating a dummy .git directory that would record 'file X is part of project Y' so that you could get away with only specifying it once, and then either have a default, or have git add complain if there are multiple places to put things and you don't specify which one (and if you add fules to multiple projects at the same time then you could either prompt for additional checkin comments as needed, or use the same comment for all projects)
David Lang - 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