Re: [PATCH 08/10] checkout: add --full to fully populate working directory

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

 



2010/11/16 Jonathan Nieder <jrnieder@xxxxxxxxx>:
>> --- a/builtin/checkout.c
>> +++ b/builtin/checkout.c
>> @@ -952,8 +957,20 @@ no_reference:
>> Â Â Â if (opts.writeout_stage)
>> Â Â Â Â Â Â Â die("--ours/--theirs is incompatible with switching branches.");
>>
>> - Â Â if (update_sparse_checkout)
>> - Â Â Â Â Â Â edit_info_sparse_checkout();
>> + Â Â if (update_sparse_checkout) {
>> + Â Â Â Â Â Â if (full_checkout) {
>> + Â Â Â Â Â Â Â Â Â Â FILE *fp = fopen(git_path("info/sparse-checkout"), "w+");
>
> What should --full --edit-worktree-shape-or-whatever-that-was-called do?

Should die().
-- 
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


[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]