Commit cf096fe5 authored by sof's avatar sof
Browse files

[project @ 2005-06-02 16:52:58 by sof]

add .svn/ to list of ignorable dirs
parent 6772ff17
......@@ -243,6 +243,8 @@ int rel; /* if true, prepend "../" to fn before using */
continue;
if (!strcmp (dp->d_name, "CVS"))
continue;
if (!strcmp (dp->d_name, ".svn"))
continue;
if (!strcmp (dp->d_name, "CVS.adm"))
continue;
ocurdir = rcurdir;
......@@ -334,18 +336,17 @@ char **av;
#endif
while (++av, --ac) {
if (strcmp(*av, "-silent") == 0)
silent = 1;
if (strcmp(*av, "-f") == 0)
force = 1;
else if (strcmp(*av, "-ignorelinks") == 0)
ignore_links = 1;
else if (strcmp(*av, "--") == 0) {
++av, --ac;
break;
}
else
break;
if (strcmp(*av, "-silent") == 0)
silent = 1;
else if (strcmp(*av, "-f") == 0)
force = 1;
else if (strcmp(*av, "-ignorelinks") == 0)
ignore_links = 1;
else if (strcmp(*av, "--") == 0) {
++av, --ac;
break;
} else
break;
}
if (ac < 1 || ac > 2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment