1
0
Fork 0
dosbox-staging/scripts
Patryk Obara 0759165f45 Implement script for re-formatting recent commits
This script is intended to be used in two situations:

- When user can't configure clang-format in code editor or IDE
- Potentially to be used in CI in the future

Normal usecase is to run this script after commit, then review and
add formatted code, and amend the commit, e.g.:

  git commit -m "Edit some C++ code"
  ./scripts/format-commit.sh
  git add -p  # select formatting changes you want to use
  git commit --amend

Run:

  ./scripts/format-commit.sh --help

to learn about other options.
2020-04-01 07:38:05 +02:00
..
automator Use ccache in the CI workflows 2020-03-24 03:42:04 +01:00
import-from-svn Update copyright line in several scripts 2020-01-03 17:15:25 +01:00
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
build.md Make MD docs comply with markdownlint 2020-01-07 19:28:12 +01:00
build.sh Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
captures.bat Installer improvements 2010-05-12 08:13:46 +00:00
count-clang-bugs.py Rename count-bugs to count-clang-bugs 2020-03-11 10:38:10 +01:00
count-pvs-bugs.py Test more criteria during PVS analysis 2020-01-29 14:59:50 +01:00
count-warnings.py Avoid counting duplicate warnings 2020-03-01 21:23:04 +01:00
count-xsan-issues.py Implement counter for sanitizer issues 2020-03-11 10:38:10 +01:00
dosbox-installer.nsi Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
dump-preprocessor-defines.sh Handle user-defined sets of files 2020-03-15 21:46:46 +01:00
editconf.bat Installer improvements 2010-05-12 08:13:46 +00:00
ega-switch.pl First CVS upload. 2002-07-27 13:08:48 +00:00
fetch-workflows.sh Improve layout of storage directory 2020-02-17 19:29:43 +01:00
font-switch.pl First CVS upload. 2002-07-27 13:08:48 +00:00
format-commit.sh Implement script for re-formatting recent commits 2020-04-01 07:38:05 +02:00
git-prehook-whitespace.sh Strip trailing white-space as a pre-commit hook 2020-01-13 11:27:27 -08:00
git-rlog.sh Update copyright line in several scripts 2020-01-03 17:15:25 +01:00
has-commits-since.sh Only run config heavy if our repo has commits 2020-01-13 00:26:11 +01:00
list-build-dependencies.sh Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
log-env.ps1 Log environment on CI machines 2019-10-26 00:52:03 +02:00
log-env.sh Log environment on CI machines 2019-10-26 00:52:03 +02:00
msys-bash.py Update copyright line in several scripts 2020-01-03 17:15:25 +01:00
resetconf.bat Installer improvements 2010-05-12 08:13:46 +00:00
resetmapper.bat Installer improvements 2010-05-12 08:13:46 +00:00
unifdef-all.sh Remove irrelevant ifdefs from unifdef-all script 2019-12-26 03:23:19 +01:00
verify-bash.sh Update copyright line in several scripts 2020-01-03 17:15:25 +01:00
verify-ctype-algorithm-include-order.sh Handle user-defined sets of files 2020-03-15 21:46:46 +01:00
verify-markdown.sh Selectively enable MarkDown line-length checking 2020-03-21 23:38:40 +01:00
verify-python.sh Update copyright line in several scripts 2020-01-03 17:15:25 +01:00