return 0;
}
+ if ((!strcmp(argv[1], "-c") || !strcmp(argv[1], "--check"))) {
+ perms_t p;
+
+ if (argc !=4)
+ die("usage: %s -c|--check <user> <repo>", argv[0]);
+ p = git_acl(argv[2], argv[3], cfg.git_acl_file);
+ printf("%s\n", git_acl_perms_as_str(p));
+ return 0;
+ }
+
if (argc == 3) {
/* argv[0] = repo_shell, argv[1] = -c, argv[2] = cmd
* cmd = "svnserve -t" or "git-xxx '/path/to/repo.git'"