Re: [PATCH] Fix overwriting of the files to apply the patch to in git-apply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/18/07, Alex Riesen <raa.lkml@xxxxxxxxx> wrote:
The decision to check for directory first looks suboptimal.
Why not try to _rename_ first and if that fails check if we've got a directory?
An existing file seems to be more of a common case.

Simplier to code and read, for one.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]