Nguyễn Thái Ngọc Duy schrieb: > + /* It's not really pathspec, so match_pathspec can't be used */ > + for (path = args->pathspec;!match && *path;path++) { > + for (str = ce->name, prefix = *path;*prefix && *str == *prefix; str++, prefix++) > + ; > + if (!*prefix && *str == '/') > + match = 1; > + } This works with, e.g.: git archive HEAD Documentation but not with: git archive HEAD Makefile or: git archive HEAD Documentation/ René -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html