Steffen Prohaska <prohaska@xxxxxx> writes: > What is the right way to iterate over the changed files? I think something like read_cache(); for (i = 0; i < active_nr; i++) { struct cache_entry *ce = active_cache[i]; struct stat st; if (!lstat(ce->name, &st) && ce_match_stat(ce, &st, 0)) { /* do your thing */ } } would do. - 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