diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-02-13 17:03:24 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-02-13 17:03:55 -0800 |
| commit | c867e4fa180bec4750e9b54eb10f459030dbebfd (patch) | |
| tree | d178a68edd12cea19afafb57436e3592d6e6178f /dir-iterator.h | |
| parent | 23c56f7bd5f1667f8b793d796bf30e39545920f6 (diff) | |
| parent | cbf04937d5b9fcf0a76c28f69e6294e9e3ecd7e6 (diff) | |
| download | git-c867e4fa180bec4750e9b54eb10f459030dbebfd.tar.xz | |
Sync with Git 2.39.2
Diffstat (limited to 'dir-iterator.h')
| -rw-r--r-- | dir-iterator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dir-iterator.h b/dir-iterator.h index 08229157c6..e3b6ff2800 100644 --- a/dir-iterator.h +++ b/dir-iterator.h @@ -61,6 +61,11 @@ * not the symlinks themselves, which is the default behavior. Broken * symlinks are ignored. * + * Note: setting DIR_ITERATOR_FOLLOW_SYMLINKS affects resolving the + * starting path as well (e.g., attempting to iterate starting at a + * symbolic link pointing to a directory without FOLLOW_SYMLINKS will + * result in an error). + * * Warning: circular symlinks are also followed when * DIR_ITERATOR_FOLLOW_SYMLINKS is set. The iteration may end up with * an ELOOP if they happen and DIR_ITERATOR_PEDANTIC is set. |
