Re: [PATCH 08/10] checkout: add --full to fully populate working directory
2010/11/16 Jonathan Nieder <jrnieder@gmail.com>:
Show 13 quoted lines
>> --- 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?--
Duy