Frans Pop wrote: > The use case is a wrapper script for kernel builds in which some variation > are needed (due to changes in the build system) when building older > kernels, e.g. during bisections or when building older stable updates. > So I test for the presence of commits that introduced relevant changes. Neat idea. How about this (untested)? git rev-list ^HEAD --no-walk commit1 commit2 ... -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html