author | Shawn Pearce <spearce@spearce.org> | |
Wed, 12 Jul 2006 05:00:16 +0000 (01:00 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 13 Jul 2006 06:16:29 +0000 (23:16 -0700) | ||
commit | 756aaf4ac5906e79b22001a96dd4f6aec0d1c89d | |
tree | 6965c8ab9c2f8830db0dc7efaa825a4eb2ce21dd | tree | snapshot |
parent | d3ba675aae3c6c5722ad15cd9d0f3b7634e976ce | commit | diff |
Make lazy mkdir more robust.
Linus Torvalds <torvalds@osdl.org> wrote:
It's entirely possible that we should just make that whole
if (ret == ENOENT)
go away. Yes, it's the right error code if a subdirectory is missing, and
yes, POSIX requires it, and yes, WXP is probably just a horrible piece of
sh*t, but on the other hand, I don't think git really has any serious
reason to even care.
Linus Torvalds <torvalds@osdl.org> wrote:
It's entirely possible that we should just make that whole
if (ret == ENOENT)
go away. Yes, it's the right error code if a subdirectory is missing, and
yes, POSIX requires it, and yes, WXP is probably just a horrible piece of
sh*t, but on the other hand, I don't think git really has any serious
reason to even care.
sha1_file.c | diff | blob | history |