git svn: fix empty directory creation
authorMichael J. Kiwala <mkiwala@genome.wustl.edu>
Tue, 1 Jun 2010 21:24:57 +0000 (16:24 -0500)
committerEric Wong <normalperson@yhbt.net>
Thu, 3 Jun 2010 20:51:41 +0000 (20:51 +0000)
commit7c42e390a37a11b1f7a77f5f07c261a8f930663a
tree1f9dd8c7da8418e5f30fea0f9ffdb543d4594567
parentbdc4204119d2847ea8f1ae5e44614be859951822
git svn: fix empty directory creation

Avoid attempts to stat() the contents of '', which could happen
when the root directory is empty.  Additionally, remove the
unnecessary '_' stat optimization since it was confusing and
possibly throwing off the non-existent case.

[ew: fixed indentation, rewrote commit message]

Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Michael J. Kiwala <mkiwala@genome.wustl.edu>
git-svn.perl