From ff803bb1a1e80c071cda311c7dfcdb426a0bdba0 Mon Sep 17 00:00:00 2001 From: "Dmitry Yu. Naumov" <dmitri.naumov@ufz.de> Date: Wed, 24 Oct 2018 12:46:18 +0200 Subject: [PATCH] Note on multiple applications of filter-branch. --- dev/code-formatting/clang-format-series-of-commits/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/code-formatting/clang-format-series-of-commits/README.md b/dev/code-formatting/clang-format-series-of-commits/README.md index f8cfa77..ed84369 100644 --- a/dev/code-formatting/clang-format-series-of-commits/README.md +++ b/dev/code-formatting/clang-format-series-of-commits/README.md @@ -38,3 +38,5 @@ To apply `clang-format` to each commit in the range `COMMIT..HEAD` rewriting the ```sh git filter-branch --tree-filter 'git-clang-format $GIT_COMMIT^' -- COMMIT..HEAD ``` + +The command has to be applied multiple times until there are no changes. -- GitLab