Re: Sanity check of git-commit patch, was Re: [PATCH] Making CFLAGS compilant with GNU Coding Standards

2005-08-10 Thread Horst von Brand
Junio C Hamano [EMAIL PROTECTED] wrote: Johannes Schindelin [EMAIL PROTECTED] writes: True. My bad old habit. An elegant method to do that: case --some-long-option in $1*) ..; esac You are almost correct, but you need to realize that I generate that long case

Re: Sanity check of git-commit patch, was Re: [PATCH] Making CFLAGS compilant with GNU Coding Standards

2005-08-10 Thread Johannes Schindelin
Hi, On Tue, 9 Aug 2005, Horst von Brand wrote: Isn't it easier to just use getopt(1)? Only if GNU getopt is available. On Mac OS X, only the BSD version is installed by default, which does not handle long options at all. Please stop! I'm dizzy already! :-) Ciao, Dscho - To unsubscribe

Re: Sanity check of git-commit patch, was Re: [PATCH] Making CFLAGS compilant with GNU Coding Standards

2005-08-09 Thread Johannes Schindelin
Hi, On Tue, 9 Aug 2005, Junio C Hamano wrote: Johannes Schindelin [EMAIL PROTECTED] writes: - I don't like the GNU way to abbreviate long options too much... True. My bad old habit. An elegant method to do that: case --some-long-option in $1*) ..; esac Ciao, Dscho - To unsubscribe

Re: Sanity check of git-commit patch, was Re: [PATCH] Making CFLAGS compilant with GNU Coding Standards

2005-08-09 Thread Junio C Hamano
Johannes Schindelin [EMAIL PROTECTED] writes: True. My bad old habit. An elegant method to do that: case --some-long-option in $1*) ..; esac You are almost correct, but you need to realize that I generate that long case -s|--s|--so|--som|... chain using a script that takes all potential

Re: Sanity check of git-commit patch, was Re: [PATCH] Making CFLAGS compilant with GNU Coding Standards

2005-08-09 Thread Junio C Hamano
Junio C Hamano [EMAIL PROTECTED] writes: - Multiple -m options was actually a feature of my version of the patch. Ah, OK. I said OK and thought about it again. While thinking about what is the right inter-message-piece separator for multiple -m parameters (you use \n), I got a headache. I