From 2f92d2e2f746e5648e3c268aa35badc81713c420 Mon Sep 17 00:00:00 2001 From: Sybille Peters Date: Thu, 2 Jun 2022 11:57:34 +0200 Subject: [PATCH] Remove obsolete page cglFixMyCommit The information is already available on the runTests.sh page (including the "direct commands"). The additional page makes it necessary to maintain information in several pages and is unnecessary. Related: #253 Related: #249 Related: #255 --- Documentation/Appendix/CglFixMyCommit.rst | 42 ----------------------- 1 file changed, 42 deletions(-) delete mode 100644 Documentation/Appendix/CglFixMyCommit.rst diff --git a/Documentation/Appendix/CglFixMyCommit.rst b/Documentation/Appendix/CglFixMyCommit.rst deleted file mode 100644 index b8f5425c..00000000 --- a/Documentation/Appendix/CglFixMyCommit.rst +++ /dev/null @@ -1,42 +0,0 @@ -.. include:: /Includes.rst.txt - -.. index:: - single: CGL; Fix - single: CGL; Troubleshoot - -.. _cgl-fix-my-commit: - -============== -cglFixMyCommit -============== - -If you don't make sure your source code is formatted correctly, the -automatic tests on the Gerrit review server will fail, after you upload -your patch. - -If that happens to you, you can fix this by running the following -script. It will apply a fix to all php files in your last commit. - -After that you will need to do the following: - -`git commit -a --amend` - - -Linux and MacOS -=============== - -`Build/Scripts/cglFixMyCommit.sh -n` - -This will show necessary modifications. To apply the modifications, run -it without the dryrun parameter: - -`Build/Scripts/cglFixMyCommit.sh` - - -Windows -======= - -`Build/Scripts/cglFixMyCommit.bat` - - -