On Tue, Dec 30, 2014 at 3:42 AM, Stefan Beller <sbeller@xxxxxxxxxx> wrote: > On Mon, Dec 29, 2014 at 11:46 PM, Eric Sunshine <sunshine@xxxxxxxxxxxxxx> wrote: >> On Mon, Dec 29, 2014 at 9:36 PM, Stefan Beller <sbeller@xxxxxxxxxx> wrote: >>> No functional changes intended. >>> +static void check_shallow_bugs(struct command *commands, >>> + struct shallow_info *si) >>> +{ >>> + struct command *cmd; >>> + int checked_connectivity = 1; >>> + for (cmd = commands; cmd; cmd = cmd->next) { >>> + if (!should_process_cmd(cmd)) >>> + continue; >>> + >>> + if (shallow_update && si->shallow_ref[cmd->index]) { >> >> Another issue: In the original code, 'si->shallow_ref[cmd->index]' is >> only checked if cmd->error_string is NULL, but here you check it >> unconditionally, despite the commit message claiming no functional >> changes. Did you verify that such a behavioral change is benign? (This >> is a genuine question.) > > The error != NULL check is done in if (!should_process_cmd(cmd)) Right. Thanks for setting me straight on that. -- 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