contrib/clang-format-ignorelist
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Fri, 26 Apr 2024 19:10:35 +0100
changeset 51626 865efc020c33
parent 46374 e92ca942ddca
permissions -rw-r--r--
dirstate: remove the python-side whitelist of allowed matchers This whitelist is too permissive because it allows matchers that contain disallowed ones deep inside, for example through `intersectionmatcher`. It is also too restrictive because it doesn't pass through some of the matchers we support, such as `patternmatcher`. It's also unnecessary because unsupported matchers raise `FallbackError` and we fall back anyway. Making this change makes more of the tests use rust code path, and therefore subtly change behavior. For example, rust status in largefiles repos seems to have strange behavior.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34834
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
# Files that just need to be migrated to the formatter.
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
     2
# Do not add new files here!
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
     3
mercurial/cext/manifest.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
     4
mercurial/cext/osutil.c
2e8477059d4f test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff changeset
     5
# Vendored code that we should never format:
44037
98944715a02c fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents: 43994
diff changeset
     6
syntax: glob
98944715a02c fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents: 43994
diff changeset
     7
contrib/python-zstandard/**.c
98944715a02c fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents: 43994
diff changeset
     8
contrib/python-zstandard/**.h
98944715a02c fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents: 43994
diff changeset
     9
hgext/fsmonitor/pywatchman/**.c
98944715a02c fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents: 43994
diff changeset
    10
mercurial/thirdparty/**.c
98944715a02c fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents: 43994
diff changeset
    11
mercurial/thirdparty/**.h
46374
e92ca942ddca cext: add Python 3.10 support
Victor Stinner <vstinner@python.org>
parents: 44037
diff changeset
    12
mercurial/pythoncapi_compat.h