diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-06-18 13:04:12 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-06-18 13:05:29 -0700 |
| commit | d094e05ea596145aa4362cf957f9d99663d4a2e3 (patch) | |
| tree | dc8bd0e1897af60240e935f196f479536c49f1d1 /builtin/commit-graph.c | |
| parent | diff --no-index: support limiting by pathspec (diff) | |
| download | git-d094e05ea596145aa4362cf957f9d99663d4a2e3.tar.gz git-d094e05ea596145aa4362cf957f9d99663d4a2e3.zip | |
diff-no-index: do not reference .d_type member of struct dirent
Some platforms like AIX lack .d_type member in "struct dirent"; use
the DTYPE(e) macro instead of a direct reference to e->d_type and
when it yields DT_UNKNOWN, find the real type with get_dtype().
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions
