Thread (26 messages) flat view 26 messages, 4 authors, 2016-06-15

Re: [PATCH v2 00/14] Sparse checkout

From: Santi Béjar <hidden>
Date: 2016-06-15 22:45:23

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help