Since Peter Kjellerstedt wanted --ff-only, and you want --verbose. I
wonder whether a better solution wouldn't be to farm this
functionality out to the config parser.
I.e. you'd do something like:
static struct option builtin_fetch_options[] = {
OPT__PROGRAM_NAME("fetch"), /* this is new */
OPT__VERBOSITY(&verbosity),
OPT_BOOLEAN(0, "all", &all,
"fetch from all remotes"),
...
And then in your .gitconfig:
[fetch "option"]
verbose = 1
Is there any reason not to add such a general facility?