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

Re: git-ls-new-files & make patch, pull, etc.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:04

Jeff Carr [off-list ref] writes:
Something simple like the perl script at the bottom would be useful for
showing files that haven't been added via git-update-cache --add already.
If I am not mistaken, you just reinvented:

    $ git ls-files --others

in a very expensive way.  Notice your `find . -type f` that does
not prune .git directory upfront.

Also you may want to take a look at:

    $ git ls-files --others --exclude-from=.git/info/exclude
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help