Revision d2189a721cc08b78b63853b8aa825dc828e835cf authored by Junio C Hamano on 25 December 2019, 19:22:02 UTC, committed by Junio C Hamano on 25 December 2019, 19:22:02 UTC
Assorted fixes to the directory traversal API.

* en/fill-directory-fixes:
  dir.c: use st_add3() for allocation size
  dir: consolidate similar code in treat_directory()
  dir: synchronize treat_leading_path() and read_directory_recursive()
  dir: fix checks on common prefix directory
  dir: break part of read_directory_recursive() out for reuse
  dir: exit before wildcard fall-through if there is no wildcard
  dir: remove stray quote character in comment
  Revert "dir.c: make 'git-status --ignored' work within leading directories"
  t3011: demonstrate directory traversal failures
2 parent s 8be0a42 + 6836d2f
History
File Mode Size
xdiff.h -rw-r--r-- 3.7 KB
xdiffi.c -rw-r--r-- 27.1 KB
xdiffi.h -rw-r--r-- 1.9 KB
xemit.c -rw-r--r-- 7.9 KB
xemit.h -rw-r--r-- 1.2 KB
xhistogram.c -rw-r--r-- 9.4 KB
xinclude.h -rw-r--r-- 1.1 KB
xmacros.h -rw-r--r-- 1.9 KB
xmerge.c -rw-r--r-- 17.0 KB
xpatience.c -rw-r--r-- 10.5 KB
xprepare.c -rw-r--r-- 12.0 KB
xprepare.h -rw-r--r-- 1.0 KB
xtypes.h -rw-r--r-- 1.5 KB
xutils.c -rw-r--r-- 9.6 KB
xutils.h -rw-r--r-- 1.7 KB

back to top