I've long (since 2013, urk!) been carrying these two changes to git-
filter-branch in the split out devicetree source tree which extracts
all the device tree sources from the Linux kernel source tree.
I think it's about time I sent them here, sorry for the rather extreme
delay! I've rebased to 2.14 and retested, I've also pushed a copy to
 where Travis seems happy.