[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories varia
From: |
Antero Mejr |
Subject: |
bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable. |
Date: |
Thu, 11 May 2023 20:11:16 +0000 |
Eli Zaretskii <eliz@gnu.org> writes:
>> > This actually means that I misunderstood the code. Now that I see the
>> > truth, why is it a good idea to compare directories case-sensitively
>> > when the filesystem is not? That's not something users will expect.
>>
>> To accurately assess if a directory name matches with possible
>> case-sensitivity, the process would be:
>> 1. check the case-sensitivity of the filesystem
>> 2. If case insensitive, check the case-sensitivity of each subdirectory
>> (using Windows queryCaseSensitiveInfo if applicable)
>> 3. map over the components of the directory name, checking each subdirectory
>> with the correct case-sensitivity setting
>
> We already have all that in file-equal-p. We should just use is
> there.
Ok, patch is attached (tested on FAT32 disk).
0001-Handle-case-insensitivity-for-safe-local-variable-di.patch
Description: Text Data
- bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable., Antero Mejr, 2023/05/09
- bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable., Eli Zaretskii, 2023/05/11
- Message not available
- bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable., Eli Zaretskii, 2023/05/11
- bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable., Antero Mejr, 2023/05/11
- bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable., Eli Zaretskii, 2023/05/11
- bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable.,
Antero Mejr <=
- bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable., Antero Mejr, 2023/05/11
- bug#61901: 30.0.50; [PATCH v3] Add safe-local-variable-directories variable., Eli Zaretskii, 2023/05/12