document git-svn --minimize-url option or make it default

Previous thread: How to start well for a special git construction by bruno le hyaric on Thursday, March 18, 2010 - 12:26 pm. (4 messages)

Next thread: [BUG] merge-recursive call in git-am -3 chokes, autocrlf issue? by Thomas Rast on Thursday, March 18, 2010 - 5:49 pm. (6 messages)
From: Matthew Woehlke
Date: Thursday, March 18, 2010 - 1:37 pm

Here's a problem I was having. I was trying to clone branches/foo/bar 
from a certain repo, where the last change on branches/foo looked like:

    A /branches/foo
    A /branches/foo/bar (from /trunk/foo/bar:12345)

By itself I couldn't get this to work; it would check out the HEAD, but 
wouldn't follow the copy to fetch any history.

I tried --stdlayout, but that worked even worse; nothing got checked out 
whatsoever.

Finally by trial and error I figured out to use --minimize-url.

I'd like to ask that this be more properly documented, especially 
stating that it is necessary to follow copies between branches and 
trunk. Or better yet, given that not following such copies is arguably 
broken, make it the default (even without -T/-t/-b/-s).

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
It is training and experience that gives us the ability to abstract 
problems, remain objective, use previous knowledge, interact with users, 
and herd cats.
   -- Celeste Lyn Paul, on Usability Experts

--

Previous thread: How to start well for a special git construction by bruno le hyaric on Thursday, March 18, 2010 - 12:26 pm. (4 messages)

Next thread: [BUG] merge-recursive call in git-am -3 chokes, autocrlf issue? by Thomas Rast on Thursday, March 18, 2010 - 5:49 pm. (6 messages)