git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Brandon Williams <bmwill@google.com>
To: git@vger.kernel.org
Cc: peff@peff.net, jrnieder@gmail.com, gitster@pobox.com,
	Johannes.Schindelin@gmx.de, Brandon Williams <bmwill@google.com>
Subject: [PATCH v3 0/6] config.h
Date: Wed, 14 Jun 2017 11:07:33 -0700	[thread overview]
Message-ID: <20170614180739.72193-1-bmwill@google.com> (raw)
In-Reply-To: <20170613210321.152978-1-bmwill@google.com>

Changes in v3:

* tweaked the discover_git_directory function's API based on Peff's feedback
* reordered the last three patches so that they flowed a bit better
* renamed 'git_config_with_options'
* rebased ontop of v4 of Dscho's alias series
  https://public-inbox.org/git/cover.1497440104.git.johannes.schindelin@gmx.de/


Brandon Williams (6):
  config: create config.h
  config: remove git_config_iter
  config: don't include config.h by default
  setup: teach discover_git_directory to respect the commondir
  config: respect commondir
  config: don't implicitly use gitdir or commondir

 advice.c                         |   1 +
 alias.c                          |   1 +
 apply.c                          |   1 +
 archive-tar.c                    |   1 +
 archive-zip.c                    |   1 +
 archive.c                        |   1 +
 attr.c                           |   1 +
 bisect.c                         |   1 +
 branch.c                         |   1 +
 builtin/add.c                    |   1 +
 builtin/am.c                     |   1 +
 builtin/blame.c                  |   2 +
 builtin/branch.c                 |   1 +
 builtin/cat-file.c               |   1 +
 builtin/check-attr.c             |   1 +
 builtin/check-ignore.c           |   1 +
 builtin/check-mailmap.c          |   1 +
 builtin/checkout-index.c         |   1 +
 builtin/checkout.c               |   1 +
 builtin/clean.c                  |   1 +
 builtin/clone.c                  |   1 +
 builtin/column.c                 |   1 +
 builtin/commit-tree.c            |   1 +
 builtin/commit.c                 |   1 +
 builtin/config.c                 |  27 +++---
 builtin/count-objects.c          |   1 +
 builtin/describe.c               |   1 +
 builtin/diff-files.c             |   1 +
 builtin/diff-index.c             |   1 +
 builtin/diff-tree.c              |   1 +
 builtin/diff.c                   |   1 +
 builtin/difftool.c               |   1 +
 builtin/fast-export.c            |   1 +
 builtin/fetch.c                  |   1 +
 builtin/fmt-merge-msg.c          |   1 +
 builtin/for-each-ref.c           |   1 +
 builtin/fsck.c                   |   1 +
 builtin/gc.c                     |   1 +
 builtin/grep.c                   |   1 +
 builtin/hash-object.c            |   1 +
 builtin/help.c                   |   1 +
 builtin/index-pack.c             |   1 +
 builtin/init-db.c                |   1 +
 builtin/log.c                    |   1 +
 builtin/ls-files.c               |   1 +
 builtin/ls-tree.c                |   1 +
 builtin/merge-base.c             |   1 +
 builtin/merge-file.c             |   1 +
 builtin/merge.c                  |   1 +
 builtin/mv.c                     |   1 +
 builtin/name-rev.c               |   1 +
 builtin/notes.c                  |   1 +
 builtin/pack-objects.c           |   1 +
 builtin/patch-id.c               |   1 +
 builtin/pull.c                   |   1 +
 builtin/push.c                   |   1 +
 builtin/read-tree.c              |   1 +
 builtin/rebase--helper.c         |   1 +
 builtin/receive-pack.c           |   1 +
 builtin/reflog.c                 |   1 +
 builtin/remote.c                 |   1 +
 builtin/repack.c                 |   1 +
 builtin/replace.c                |   1 +
 builtin/rerere.c                 |   1 +
 builtin/reset.c                  |   1 +
 builtin/rev-list.c               |   1 +
 builtin/rev-parse.c              |   1 +
 builtin/revert.c                 |   1 +
 builtin/rm.c                     |   1 +
 builtin/send-pack.c              |   1 +
 builtin/shortlog.c               |   1 +
 builtin/show-branch.c            |   1 +
 builtin/stripspace.c             |   1 +
 builtin/submodule--helper.c      |   1 +
 builtin/symbolic-ref.c           |   1 +
 builtin/tag.c                    |   1 +
 builtin/unpack-file.c            |   1 +
 builtin/unpack-objects.c         |   1 +
 builtin/update-index.c           |   1 +
 builtin/update-ref.c             |   1 +
 builtin/update-server-info.c     |   1 +
 builtin/var.c                    |   1 +
 builtin/verify-commit.c          |   1 +
 builtin/verify-pack.c            |   1 +
 builtin/verify-tag.c             |   1 +
 builtin/worktree.c               |   1 +
 builtin/write-tree.c             |   1 +
 cache.h                          | 204 ++-------------------------------------
 color.c                          |   1 +
 column.c                         |   1 +
 compat/precompose_utf8.c         |   1 +
 config.c                         |  41 ++++----
 config.h                         | 194 +++++++++++++++++++++++++++++++++++++
 connect.c                        |   1 +
 convert.c                        |   1 +
 credential-cache--daemon.c       |   1 +
 credential.c                     |   1 +
 daemon.c                         |   1 +
 diff.c                           |   1 +
 dir.c                            |   1 +
 environment.c                    |   1 +
 fast-import.c                    |   1 +
 fetch-pack.c                     |   1 +
 git.c                            |   1 +
 gpg-interface.c                  |   1 +
 graph.c                          |   1 +
 grep.c                           |   1 +
 help.c                           |   1 +
 http-backend.c                   |   1 +
 http-fetch.c                     |   1 +
 http.c                           |   1 +
 ident.c                          |   1 +
 imap-send.c                      |   1 +
 ll-merge.c                       |   1 +
 log-tree.c                       |   1 +
 mailinfo.c                       |   1 +
 merge-recursive.c                |   1 +
 notes-utils.c                    |   1 +
 notes.c                          |   1 +
 pager.c                          |   1 +
 parse-options.c                  |   1 +
 pathspec.c                       |   1 +
 pretty.c                         |   1 +
 prompt.c                         |   1 +
 read-cache.c                     |   1 +
 refs.c                           |   1 +
 refs/files-backend.c             |   1 +
 remote-curl.c                    |   1 +
 remote.c                         |   1 +
 rerere.c                         |   1 +
 send-pack.c                      |   1 +
 sequencer.c                      |   1 +
 setup.c                          |  18 ++--
 sha1_file.c                      |   1 +
 sha1_name.c                      |   1 +
 submodule-config.c               |   1 +
 submodule.c                      |   1 +
 t/helper/test-config.c           |   1 +
 t/helper/test-submodule-config.c |   1 +
 trailer.c                        |   1 +
 transport.c                      |   1 +
 unpack-trees.c                   |   1 +
 upload-pack.c                    |   1 +
 userdiff.c                       |   1 +
 versioncmp.c                     |   1 +
 wrapper.c                        |   1 +
 xdiff-interface.c                |   1 +
 147 files changed, 398 insertions(+), 229 deletions(-)
 create mode 100644 config.h

-- 
2.13.1.518.g3df882009-goog


  parent reply	other threads:[~2017-06-14 18:07 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 21:34 [PATCH 0/4] config.h Brandon Williams
2017-06-12 21:34 ` [PATCH 1/4] config: create config.h Brandon Williams
2017-06-12 21:34 ` [PATCH 2/4] config: remove git_config_iter Brandon Williams
2017-06-13  0:49   ` Jonathan Nieder
2017-06-13  0:57     ` Jeff King
2017-06-12 21:34 ` [PATCH 3/4] config: don't include config.h by default Brandon Williams
2017-06-12 21:34 ` [PATCH 4/4] config: don't implicitly use gitdir Brandon Williams
2017-06-13  1:05   ` Jonathan Nieder
2017-06-13  1:23     ` Brandon Williams
2017-06-13  1:33       ` Jonathan Nieder
2017-06-13  1:38       ` Jonathan Nieder
2017-06-13  2:59         ` Jeff King
2017-06-13  6:16           ` Brandon Williams
2017-06-13  6:45             ` Jeff King
2017-06-13  7:08             ` Jeff King
2017-06-13 14:43               ` Brandon Williams
2017-06-13 17:06           ` Jonathan Nieder
2017-06-13  5:52         ` Brandon Williams
2017-06-13  6:29           ` Jeff King
2017-06-13 14:47             ` Brandon Williams
2017-06-12 21:45 ` [PATCH 0/4] config.h Jeff King
2017-06-12 21:53   ` Brandon Williams
2017-06-12 22:02     ` Jeff King
2017-06-12 22:06       ` Brandon Williams
2017-06-13  1:07 ` Jonathan Nieder
2017-06-13 21:03 ` [PATCH v2 0/6] config.h Brandon Williams
2017-06-13 21:03   ` [PATCH v2 1/6] config: create config.h Brandon Williams
2017-06-13 21:13     ` Jonathan Nieder
2017-06-13 21:03   ` [PATCH v2 2/6] config: remove git_config_iter Brandon Williams
2017-06-13 21:14     ` Jonathan Nieder
2017-06-13 21:03   ` [PATCH v2 3/6] config: don't include config.h by default Brandon Williams
2017-06-13 21:58     ` Jonathan Nieder
2017-06-13 21:03   ` [PATCH v2 4/6] config: don't implicitly use gitdir Brandon Williams
2017-06-13 21:08     ` Jonathan Nieder
2017-06-13 21:38       ` Brandon Williams
2017-06-13 21:51         ` Jonathan Nieder
2017-06-13 21:55           ` Junio C Hamano
2017-06-13 22:05             ` Jonathan Nieder
2017-06-14  4:40               ` Jacob Keller
2017-06-14  6:25         ` Jeff King
2017-06-14 17:14           ` Brandon Williams
2017-06-13 21:03   ` [PATCH v2 5/6] setup: teach discover_git_directory to respect the commondir Brandon Williams
2017-06-14  6:15     ` Jeff King
2017-06-14 17:19       ` Brandon Williams
2017-06-13 21:03   ` [PATCH v2 6/6] config: respect commondir Brandon Williams
2017-06-14 18:07   ` Brandon Williams [this message]
2017-06-14 18:07     ` [PATCH v3 1/6] config: create config.h Brandon Williams
2017-06-14 18:07     ` [PATCH v3 2/6] config: remove git_config_iter Brandon Williams
2017-06-14 18:07     ` [PATCH v3 3/6] config: don't include config.h by default Brandon Williams
2017-06-14 18:07     ` [PATCH v3 4/6] setup: teach discover_git_directory to respect the commondir Brandon Williams
2017-06-14 18:07     ` [PATCH v3 5/6] config: respect commondir Brandon Williams
2017-06-14 18:07     ` [PATCH v3 6/6] config: don't implicitly use gitdir or commondir Brandon Williams
2017-06-15 19:59     ` [PATCH v3 0/6] config.h Junio C Hamano
2017-06-15 20:33       ` Brandon Williams
2017-06-15 21:09         ` Junio C Hamano
2017-06-15 21:18           ` Brandon Williams
2017-06-16  0:12             ` Brandon Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170614180739.72193-1-bmwill@google.com \
    --to=bmwill@google.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=jrnieder@gmail.com \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).