Re: [PATCH v2 00/14] Sparse checkout
- From
- Santi Béjar <santi@agolina.net>
- Date
- Sep 23, 2008, 11:57 UTC
- Message-ID
- <adf1fd3d0809230457u200f4331n849b302eabe4f960@mail.gmail.com>
- In-Reply-To
- <1221904913-25887-1-git-send-email-pclouds@gmail.com>
Hi,
Just some comments.
When you exclude the .gitignore file all the ignored files are reported as "Untracked files". I.e, as in:
$git clone $git_url $ cd git $ make $ git checkout --reset-path=Documentation/ $ git status
When you have local changes it says that it cannot switch branches
$ git checkout --reset-path=Documentation/ error: You have local changes to 'Makefile'; cannot switch branches.
$ git checkout -h
...
--reset-path <prefixes>
reset to new sparse checkout
--add-path <prefixes>
widen checkout area
--remove-path <prefixes>
narrow checkout areas/prefixes/sparse patterns/
Best regards,
Santi