void (@NotNull Project project, @NotNull DiffRequestChain chain) { boolean allowExcludeFromCommit = ChangesViewManager.getInstanceEx(project).isAllowExcludeFromCommit(); chain.putUserData(ALLOW_EXCLUDE_FROM_COMMIT, allowExcludeFromCommit); }