aboutsummaryrefslogtreecommitdiff
path: root/dir-iterator.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-02-13 17:03:24 -0800
committerJunio C Hamano <gitster@pobox.com>2023-02-13 17:03:55 -0800
commitc867e4fa180bec4750e9b54eb10f459030dbebfd (patch)
treed178a68edd12cea19afafb57436e3592d6e6178f /dir-iterator.h
parent23c56f7bd5f1667f8b793d796bf30e39545920f6 (diff)
parentcbf04937d5b9fcf0a76c28f69e6294e9e3ecd7e6 (diff)
downloadgit-c867e4fa180bec4750e9b54eb10f459030dbebfd.tar.xz
Sync with Git 2.39.2
Diffstat (limited to 'dir-iterator.h')
-rw-r--r--dir-iterator.h5
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.