Re: [PATCH v2 00/14] Sparse checkout

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

 



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 area

s/prefixes/sparse patterns/

Best regards,

Santi
--
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