Re: [RFC PATCH 00/12] Sparse checkout

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

 



On 7/25/08, James Pickens <jepicken@xxxxxxxxx> wrote:
> > You can do that with "git checkout --path" (non-recursive checkout aside):
>  >
>  > $ git checkout --path=A                     # checkout full A
>  > $ git checkout --path=A/B1/C1               # no, limit to A/B1/C1 only
>  > $ git checkout --path=A/B1/C1:A/B2          # extend to A/B2 too
>
>
> My point was not that incremental checkout is impossible, just that it
>  would be easier if I didn't have to re-type the full path list again.
>  Suppose I had 9 directories (A/B1 through A/B9) in my sparse checkout,
>  and I wanted to add a 10th directory (A/B10).  It would be much easier
>  to type something like
>
>  $ cd A
>  $ git checkout B10
>
>  instead of
>
>  $ git checkout --path=A/B1:A/B2:A/B3:A/B4:A/B5:A/B6:A/B7:A/B8:A/B9:A/B10

"git checkout B10" form has already been taken. How about "git
checkout --add-path" and "git checkout --remove-path"?
-- 
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]

  Powered by Linux