Solaris 5.8 returns ENOTDIR for inappropriate renames.
authorJason Riedy <ejr@EECS.Berkeley.EDU>
Tue, 16 Jan 2007 01:30:59 +0000 (17:30 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 16 Jan 2007 06:27:05 +0000 (22:27 -0800)
commitd9e74d5745127a5d483788c264fe0d4332868d67
treea01f3248ea59cb72e973ceb881f47d15eaede9f7
parent2aad957a519b354e248da8c76ee0d3997083dde6
Solaris 5.8 returns ENOTDIR for inappropriate renames.

The reflog code clears empty directories when rename returns
either EISDIR or ENOTDIR.  Seems to be the only place.

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c