Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> writes: > - prefix = setup_git_directory_gently(&nongit); > - init_revisions(&rev, prefix); > + setup_git_directory_gently(&nongit); > + init_revisions(&rev, NULL); > @@ -233,19 +233,20 @@ int cmd_diff(int argc, const char **argv, const char *prefix) > ... > - init_revisions(&rev, prefix); > + init_revisions(&rev, NULL); Hmm. How is the effect of this change compensated later to give proper prefix value to rev.diffopt.prefix? - 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