X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/27b0c1ee1d85c53f1d11bb2b8e539cd76e4cf437..77c0face3a66d71cb73f4c5444d0c45bf3bb6aa1:/tools/git-hooks/clang-format.pre-commit diff --git a/tools/git-hooks/clang-format.pre-commit b/tools/git-hooks/clang-format.pre-commit index bd57456d85..ccaa385004 100755 --- a/tools/git-hooks/clang-format.pre-commit +++ b/tools/git-hooks/clang-format.pre-commit @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Copyright (c) 2015, David Martin. All rights reserved. -# Copyright (c) 2017, The SimGrid team. All rights reserved. +# Copyright (c) 2017-2020. The SimGrid team. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -198,7 +198,7 @@ printf "\nThe following differences were found between the code to commit " printf "and the clang-format rules:\n\n" cat "${patch}" -printf "\nYou can apply these changes and readd the files with:\n" +printf "\nYou can apply these changes and read the files with:\n" printf " git apply ${patch} && git apply --cached ${patch}\n" printf "(call this command from the root directory of your repository)\n" printf "\n\n\n"