On Thu, Dec 24, 2015 at 11:01 AM, Duy Nguyen <pclouds@xxxxxxxxx> wrote: > On Thu, Dec 24, 2015 at 4:03 AM, Christian Couder > <christian.couder@xxxxxxxxx> wrote: >> @@ -1135,10 +1135,16 @@ int cmd_update_index(int argc, const char **argv, const char *prefix) >> } >> add_untracked_ident(the_index.untracked); >> the_index.cache_changed |= UNTRACKED_CHANGED; >> - } else if (untracked_cache == UC_DISABLE && the_index.untracked) { >> - free_untracked_cache(the_index.untracked); >> - the_index.untracked = NULL; >> - the_index.cache_changed |= UNTRACKED_CHANGED; >> + if (verbose) >> + printf(_("Untracked cache enabled for '%s'\n"), get_git_work_tree()); > > Nit. If you use report(), then you can skip "if (verbose)" because > it's done inside report(). Ok, will do. Thanks, Christian. -- 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