]> git.ipfire.org Git - thirdparty/git.git/commit - apply.c
git-apply: create subdirectories leading up to a new file
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 02:10:21 +0000 (19:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 02:10:21 +0000 (19:10 -0700)
commit5c8af185cc547b1babdd6292b1c77bec1941922f
treeb5c34bca2e519e8f675eae30ef581464ada17687
parentfa3e0655a45f53bbc1b48edc8f931426b183cba1
git-apply: create subdirectories leading up to a new file

Applying Andrew's latest patch-bomb showed us failing miserably if a new
subdirectory needed to be created..  That said, it's uncommon enough
that it's worth optimistically assuming it won't be needed, and then
creating the subdirectories only on failure.
apply.c