Re: ls-tree enhancements

2005-04-15 Thread Junio C Hamano
> "PB" == Petr Baudis <[EMAIL PROTECTED]> writes: >> +static void _usage(void) PB> This infriges the system namespaces. FWIW, I prefer to add the PB> underscore at the end of the identifier if wanting to do stuff like PB> this. Or just call it my_usage(). Thanks. My bad. Noted. - To uns

Re: ls-tree enhancements

2005-04-15 Thread Petr Baudis
Dear diary, on Fri, Apr 15, 2005 at 04:21:30AM CEST, I got a letter where Junio C Hamano <[EMAIL PROTECTED]> told me that... > +static void _usage(void) > +{ > + usage("ls-tree [-r] [-z] "); > +} (namespace-nazi-hat This infriges the system namespaces. FWIW, I prefer to add the underscore at

[Patch] ls-tree enhancements

2005-04-14 Thread Junio C Hamano
This adds '-r' (recursive) option and '-z' (NUL terminated) option to ls-tree. I need it so that the merge-trees (formerly known as git-merge.perl) script does not need to create any temporary dircache while merging. It used to use show-files on a temporary dircache to get the list of files in th