Thomas Gummerer wrote:

> --- a/builtin/diff.c
> +++ b/builtin/diff.c
> @@ -295,7 +295,9 @@ int cmd_diff(int argc, const char **argv, const char 
> *prefix)
>                       break;
>       }
>  
> -     prefix = setup_git_directory_gently(&nongit);
> +     if (!no_index)
> +             prefix = setup_git_directory_gently(&nongit);

What is the value of nongit in the no_index case?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to