From: Nguyen Thai Ngoc Duy Date: Tue, 16 Nov 2010 02:50:18 GMT Subject: Re: [PATCH 08/10] checkout: add --full to fully populate working directory Message-ID: In-Reply-To: <20101115212311.GI16385@burratino> 2010/11/16 Jonathan Nieder : >> --- 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