Merge branch 'sg/config-name-only'
commitfc9dfda1be25ab3bb311900c6cfbf59d6b6e224e
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Aug 2015 22:38:50 +0000 (31 15:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Aug 2015 22:38:50 +0000 (31 15:38 -0700)
tree6a53a2a3de541f1c7155f4163086ab49a5c81a43
parentaecce6d0eff68a7144e32247d2e02d9974772ab1
parenta92330d21c13cf244d8045f5c9d1df6e63893d58
Merge branch 'sg/config-name-only'

"git config --list" output was hard to parse when values consist of
multiple lines.  "--name-only" option is added to help this.

* sg/config-name-only:
  get_urlmatch: avoid useless strbuf write
  format_config: simplify buffer handling
  format_config: don't init strbuf
  config: restructure format_config() for better control flow
  completion: list variable names reliably with 'git config --name-only'
  config: add '--name-only' option to list only variable names
contrib/completion/git-completion.bash