]> git.proxmox.com Git - libgit2.git/commit - src/checkout.c
Remove old symlinks before updating
authorRussell Belfer <rb@github.com>
Wed, 15 May 2013 21:52:12 +0000 (14:52 -0700)
committerRussell Belfer <rb@github.com>
Wed, 15 May 2013 21:52:12 +0000 (14:52 -0700)
commit55d3a39098bfc513b12ad6cb56658cb2f87e6a91
tree5461ad730b177853cf430045d58bf49539069e6f
parent79ef3be449c9d81dd0b37a30999563aa92e4679e
Remove old symlinks before updating

Unlike blob updates, symlink updates cannot be done "in place"
writing over an old symlink.  This means that in checkout when we
realize that we can safely update a symlink, we still need to
remove the old one before writing the new.
src/checkout.c