Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into 'master'
[simgrid.git] / tools / git-hooks / clang-format.pre-commit
index c3e404b63b34276f8cac2d7bc7b4d4860d163ebd..ffcd99d9b4a7c3624c81a3aa4f43e7e7281543d8 100755 (executable)
@@ -22,7 +22,7 @@
 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#  git pre-commit hook that runs an clang-format stylecheck.
+#  git pre-commit hook that runs a clang-format stylecheck.
 #  Features:
 #   - abort commit when commit does not comply with the style guidelines
 #   - create a patch of the proposed style changes
@@ -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"