Re: [PATCH 1/4] Add a simple option parser for use by builtin-commit.c.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kristian <krh@...>
Cc: Jonas Fonseca <fonseca@...>, <gitster@...>, <git@...>
Date: Monday, October 1, 2007 - 2:13 pm

Hi,

On Mon, 1 Oct 2007, Kristian H?gsberg wrote:


That's a good idea; I would put the usage string there, too.


It might be convenient, but I think that it is really more confusing than 
helpful, especially with options that share a prefix.  Besides, we have 
good completion for bash now (and I hear that this "zsh" thing also has 
quite good completion), I recommend <TAB> over prefix DWIMery.


FWIW I like the ARRAY_SIZE() approach better, too, since it is less error 
prone.

Ciao,
Dscho

-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/4] Add a simple option parser for use by builtin-co..., Kristian Høgsberg, (Thu Sep 27, 12:50 am)
Re: [PATCH 1/4] Add a simple option parser for use by builti..., Johannes Schindelin, (Mon Oct 1, 2:13 pm)
Re: [PATCH 1/4] Add a simple option parser for use by builti..., Johannes Schindelin, (Mon Oct 1, 6:14 am)
Re: [PATCH 1/4] Add a simple option parser for use by builti..., Johannes Schindelin, (Mon Oct 1, 7:39 am)
[PATCH 2/4] This exports the update() function from builtin-..., Kristian Høgsberg, (Thu Sep 27, 12:50 am)
Re: [PATCH 2/4] This exports the update() function from buil..., Johannes Schindelin, (Thu Sep 27, 7:47 am)
[PATCH 3/4] Implement git commit as a builtin command., Kristian Høgsberg, (Thu Sep 27, 12:50 am)