• L
    git-apply: be a lot more careful when writing files · 1b668341
    Linus Torvalds 提交于
    We write them under another name and rename them to their destination,
    so that if something bad happens in the middle, we won't have caused any
    bigger harm.
    
    Also, this makes the writing be NFS "intr" safe, and as a side effects
    makes sure that if the target is hardlinked (or symlinked) we will have
    broken the link.
    1b668341
apply.c 32.8 KB