summaryrefslogtreecommitdiff
path: root/fetch.c
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2007-01-28 21:34:23 -0800
committerLibravatar Eric Wong <normalperson@yhbt.net>2007-02-23 00:57:10 -0800
commitce2a0f2f9d9fd8eee8eaa1f24a60bdafade80c24 (patch)
treeb4281f271a1e3afb9c813eb64f9b6a73f305db8e /fetch.c
parentgit-svn: correctly handle do_{switch,update} in deep directories (diff)
downloadtgif-ce2a0f2f9d9fd8eee8eaa1f24a60bdafade80c24.tar.xz
git-svn: stop using path names as refnames with --follow-parent
Using path names as refnames breaks horribly if a user is tracking one large, toplevel directory, and a lower-level directory is followed from another project is a parent of another ref, as it will cause refnames such as: 'refs/remotes/trunk/path/to/stuff', which will conflict with a refname of 'refs/remotes/trunk'. Now we just append @$revno to the end of it the current refname. And if we have followed back to a grandparent, then we'll strip any existing '@$parent_revno' strings before appending our own '@$revno' string to it. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'fetch.c')
0 files changed, 0 insertions, 0 deletions