This is not a question about something not working, it is a question to understand why something is working. Here is my setup:
projects
|
|--- mylibs
|
|--- main
I have two different, unrelated git-svn
checkouts mylibs
and main
. They were clones from very different places in the repositories. Now, a svn commit
was made by someone else in which an external has been added in main
to point to mylibs
(i.e. a svn
checkout of main
would contain a directory mylibs
, which is an external to mylibs
).
Just out of curiosity I changed into main
and did a git svn rebase
just to see what git would do with the externals. git
created a link as follows:
mylibs -> ../mylibs
which is what I want , but I do not know how this is possible. Because the local git checkout of main
does not know that in the upper directory is a checkout of mylibs
.
Is this a new feature? Does git know of all local clones/checkouts on my local disk/home directory?