author | Alexander Potashev <aspotashev@gmail.com> | |
Sat, 10 Jan 2009 12:07:50 +0000 (15:07 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 11 Jan 2009 21:21:57 +0000 (13:21 -0800) | ||
commit | 8ca12c0d62c0be4a4987c4a936467ea2a92e915a | |
tree | 42b4cafd04bbbdfa90a38b6a49396cd3b06a97db | tree | snapshot |
parent | c123b7c5fb596d93cd015645212c379fc3c381d5 | commit | diff |
add is_dot_or_dotdot inline function
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>
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>
builtin-count-objects.c | diff | blob | history | |
builtin-fsck.c | diff | blob | history | |
builtin-prune.c | diff | blob | history | |
builtin-rerere.c | diff | blob | history | |
dir.c | diff | blob | history | |
dir.h | diff | blob | history | |
entry.c | diff | blob | history | |
remote.c | diff | blob | history | |
transport.c | diff | blob | history |