Ah, right.
That might be correct now. But why not make the option parser general
enough to (finally!) support something like "git clone -lns <directory>",
i.e. short options a la GNU? This is something that has been wanted for a
long time.
Besides, if you make the option parser not general enough to be reused in
all git programs, I wonder why bother at all? It's not like it is less
complex than a hand-rolled option parser, if it is used only once.
Hmm. Somehow I think that the getopt solution is not so bad at all. We'd
need some code in compat/, but since we're GPL, and there are so many
GPLed getopt versions out there, I don't see any obstacle there.
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