Thread (8 messages) flat view 8 messages, 5 authors, 2016-06-15

Re: Subproject status

From: David Lang <hidden>
Date: 2016-06-15 22:43:01

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help