mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-04 19:16:21 -05:00
A new inline function is_dot_or_dotdot is used to check if the directory name is either "." or "..". It returns a non-zero value if the given string is "." or "..". It's applicable to a lot of Git source code. Signed-off-by: Alexander Potashev <aspotashev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
3.0 KiB
3.0 KiB