Libified diff-index: backward compatibility fix.