After reading Mr. Hipp answer to some previous email about git saying:

So the staging area is being used as a way of working around the fact
that Git does not allow multiple independent check-outs against the
same repository?  Am I understanding that correctly?

I started to think: what does it mean to have "multiple independent
check-outs"? And I knew I wouldn't be able to sleep well because of not
knowing. So I created a new test repo, and began:

mkdir test
cd test
fossil new test.fossil
mkdir a b
cd a
fossil open ../test.fossil
echo "file a" > a.txt
cd ..
cd b
fossil open ../test.fossil
echo "file b" > b.txt
cd ..
fossil status # replied not within an open checkout

Then went to commit in each subdirectory... then did a status... both
reflected the check-ins in the correct order... and the other directories
weren't there. Actually going to a (the first commited one) and running
fossil update trunk did:

ADD b.txt
REMOVE a.txt


So far seems magic, as I don't seem to grasp the power, uses and
implications for it. Is there any documentation? This is my first approach
to what Mr. Hipp said. Am I mistaken?
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to