Re: [PATCH] submodule: Fix regression for deinit without submodules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Beller <sbeller@xxxxxxxxxx> writes:

> Per Cederqvist wrote:
>> It used to be possible to run
>>
>>    git submodule deinit -f .
>>
>> to remove any submodules, no matter how many submodules you had.  That
>> is no longer possible in projects that don't have any submodules at
>> all.  The command will fail with:
>>
>>     error: pathspec '.' did not match any file(s) known to git.
>
> This regression was introduced in 74703a1e4dfc (submodule: rewrite
> `module_list` shell function in C, 2015-09-02), as we optimized
> ...
>
> Reported-by: Per Cederqvist <cederp@xxxxxxxxx>
> Signed-off-by: Stefan Beller <sbeller@xxxxxxxxxx>
> ---
>
>  Ok, let's try again. This is what I understand is the best bugfix for
>  2.8 and below. (This patch was developed on top of 2.7.4)

Thanks, let's aim to merge this for 2.8 final.
--
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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]