RFR: 8357920: Add .rej and .orig to .gitignore
SendaoYan
syan at openjdk.org
Wed May 28 02:03:02 UTC 2025
On Tue, 27 May 2025 21:59:05 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> The file types .rej and .orig are often created by diff tools. Adding them to .gitignore will help people from mistakenly committing these files.
>
> See https://github.com/openjdk/jdk/pull/25306#discussion_r2102407122 for an example of where this happened.
.gitignore line 26:
> 24: /.lldbinit
> 25: **/core.[0-9]*
> 26: *.rej
How about use below config instead. It will ignore all the related diff files in root directory and in the any sub-directory.
**/*.rej
**/*.orig
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25474#discussion_r2110720316
More information about the build-dev
mailing list