Skip to content

Commit 5f47d9f

Browse files
authored
SoC-2024-Microprojects: add reference to help distinguish valid conversions
Link to the helpful email by Eric that would help distinguish valid and invalid conversions of "test -e"
1 parent cabd384 commit 5f47d9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎SoC-2024-Microprojects.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ appropriate `test_path_is_file`, `test_path_is_dir`, etc. helper
4444
functions. Note that this conversion does not directly apply to control
4545
flow constructs like `if test -e ./path; then ...; fi` because the
4646
replacements are intended to assert the condition instead of merely
47-
testing for it.
47+
testing for it. Check [this link](https://public-inbox.org/git/CAPig+cRfO8t1tdCL6MB4b9XopF3HkZ==hU83AFZ38b-2zsXDjQ@mail.gmail.com/)
48+
for an elaborate clarification on identifying `test -e`
49+
instances that should / should not be replaced.
4850

4951
If you can't find one please tell us, along with the command you used
5052
to search, so that we can remove this microproject idea.

0 commit comments

Comments
(0)