#439248 git-core: "--list" should be the default option of git-config

Package:
git
Source:
git
Description:
fast, scalable, distributed revision control system
Submitter:
Sebastian Harl
Date:
2010-05-15 21:21:57 UTC
Severity:
wishlist
#439248#5
Date:
2007-08-23 15:58:22 UTC
From:
To:
Hi,

Please make "--list" the default option of git-config(1) if no other option
has been specified. As it does not (seem to) have any side effects, this is
imho a much more reasonable default than aborting.

TIA,
Sebastian

#439248#10
Date:
2007-09-03 11:57:23 UTC
From:
To:
tags 439248 - patch
quit

Hi Sebastian, I agree that git-config without any arguments defaulting
to --list might be a good idea.  Unfortunately your patch isn't
complete, it misses updates to the usage output and documentation ;(.
Additionally I would suggest to move the 'return
git_config(show_all_config);' into to case switch below the option
parsing.

Thanks, Gerrit.