commit: Fix specifier inheritance behavior