On 8/25/08, Miklos Vajna <vmiklos@xxxxxxxxxxxxxx> wrote: > diff --git a/builtin-diff.c b/builtin-diff.c > > index 7ffea97..57da6ed 100644 > > --- a/builtin-diff.c > +++ b/builtin-diff.c > > @@ -279,6 +279,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix) > diff_no_index(&rev, argc, argv, nongit, prefix); > > /* Otherwise, we are doing the usual "git" diff */ > + setup_work_tree(); > rev.diffopt.skip_stat_unmatch = !!diff_auto_refresh_index; > > if (nongit) At least builtin_diff_blobs() and builtin_diff_tree() won't need worktree, so NACK again. Anyway I'm not familiar with diff*. Junio should know these better. -- Duy -- 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