author | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Feb 2007 10:21:59 +0000 (02:21 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Feb 2007 10:21:59 +0000 (02:21 -0800) | ||
commit | 2e5e24803fc92a1da5b941495dc22f888fc612b6 | |
tree | 362748d3d28baabaed9abb7472e69925268ee53a | tree | snapshot |
parent | e2c475d91cc65b110a20c9836142a4a7e608a87c | commit | diff |
git-svn: fix some potential bugs with --follow-parent
When using do_switch:
We only need to ensure the index is clean and set to that of the
parent tree) we rely on being able to reconstruct full files
with deltas transferred over the network.
When using do_update:
We may safely unlink the index if we are fetching an entire
new tree with do_update. Having an old index (from a
previously deleted/abandoned directory) around can cause
irrelevant files to be mistakenly kept.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
When using do_switch:
We only need to ensure the index is clean and set to that of the
parent tree) we rely on being able to reconstruct full files
with deltas transferred over the network.
When using do_update:
We may safely unlink the index if we are fetching an entire
new tree with do_update. Having an old index (from a
previously deleted/abandoned directory) around can cause
irrelevant files to be mistakenly kept.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history |