Skip to content

Commit

Permalink
docs: replace git command line argument for target check-git
Browse files Browse the repository at this point in the history
- --compact-summary is not available with the standard
    git installation on CentOS 7
- in contrast --stat is already available with git 1.8.2
  • Loading branch information
franku committed Sep 4, 2019
1 parent 1d7b20b commit 60ac6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/manuals/CMakeLists.txt
Expand Up @@ -62,7 +62,7 @@ add_custom_target( clean-docs
# this target checks if the generated json files differ from the ones in the repository.

add_custom_target ( check-git
COMMAND git diff --exit-code --compact-summary ${PROJECT_SOURCE_DIR}/source/include/autogenerated
COMMAND git diff --exit-code --stat=80 ${PROJECT_SOURCE_DIR}/source/include/autogenerated
DEPENDS ${AUTOGENERATED_RESOURCE_DESCRIPTION_JSON_FILES}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Comparing json files in \"${PROJECT_SOURCE_DIR}/source/include/autogenerated\" with git repo" )
Expand Down

0 comments on commit 60ac6a1

Please sign in to comment.