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

From: Junio C Hamano <junkio@cox.net>
Date: 2005-08-23 15:15:47
Jeff Carr <jcarr@linuxmachines.com> 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


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Aug 23 15:18:02 2005

This archive was generated by hypermail 2.1.8 : 2005-08-23 15:18:05 EST