gentree: apply patches on by one
authorJohannes Berg <johannes.berg@intel.com>
Sat, 6 Apr 2013 20:42:05 +0000 (22:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 6 Apr 2013 20:42:05 +0000 (22:42 +0200)
commit8f949091c3e0bd1ec75e44614b57c0fe3bc90e55
treee20f88f3b04b83ae1562b469a7e7651d010d15a8
parentbc1cf7cea4d747c7dae84baf970dd8465ebdc357
gentree: apply patches on by one

Instead of trying to infer the directory structure, which
was only used for verbose output and the git debug option,
just apply the patches on by one in the correct order.

Also warn if finding a .patch file that doesn't contain a
patch, just in case the patch library doesn't understand
some patches properly, for debugging purposes mostly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
gentree.py