git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 0/6] config.h

From
BWBrandon Williams <bmwill@google.com>
Date
Jun 14, 2017, 18:07 UTC
Message-ID
<20170614180739.72193-1-bmwill@google.com>
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
Previous: Jonathan NiederNext: Brandon Williams
Message 46 of 57 in “config.h”
  1. 0/4 config.hBrandon Williams, Jun 12, 2017
  2. 1/4 config: create config.hBrandon Williams, Jun 12, 2017
  3. 2/4 config: remove git_config_iterBrandon Williams, Jun 12, 2017
  4. Jonathan NiederJun 13, 2017
  5. Jeff KingJun 13, 2017
  6. 4/4 config: don't implicitly use gitdirBrandon Williams, Jun 12, 2017
  7. Jonathan NiederJun 13, 2017
  8. Brandon WilliamsJun 13, 2017
  9. Jonathan NiederJun 13, 2017
  10. Jonathan NiederJun 13, 2017
  11. Jeff KingJun 13, 2017
  12. Brandon WilliamsJun 13, 2017
  13. Jeff KingJun 13, 2017
  14. Jeff KingJun 13, 2017
  15. Brandon WilliamsJun 13, 2017
  16. Jonathan NiederJun 13, 2017
  17. Brandon WilliamsJun 13, 2017
  18. Jeff KingJun 13, 2017
  19. Brandon WilliamsJun 13, 2017
  20. 3/4 config: don't include config.h by defaultBrandon Williams, Jun 12, 2017
  21. Jeff KingJun 12, 2017
  22. Brandon WilliamsJun 12, 2017
  23. Jeff KingJun 12, 2017
  24. Brandon WilliamsJun 12, 2017
  25. Jonathan NiederJun 13, 2017
  26. 0/6 config.hBrandon Williams, Jun 13, 2017
  27. 1/6 config: create config.hBrandon Williams, Jun 13, 2017
  28. Jonathan NiederJun 13, 2017
  29. 2/6 config: remove git_config_iterBrandon Williams, Jun 13, 2017
  30. Jonathan NiederJun 13, 2017
  31. 5/6 setup: teach discover_git_directory to respect the commondirBrandon Williams, Jun 13, 2017
  32. Jeff KingJun 14, 2017
  33. Brandon WilliamsJun 14, 2017
  34. 6/6 config: respect commondirBrandon Williams, Jun 13, 2017
  35. 4/6 config: don't implicitly use gitdirBrandon Williams, Jun 13, 2017
  36. Jonathan NiederJun 13, 2017
  37. Brandon WilliamsJun 13, 2017
  38. Jonathan NiederJun 13, 2017
  39. Junio C HamanoJun 13, 2017
  40. Jonathan NiederJun 13, 2017
  41. Jacob KellerJun 14, 2017
  42. Jeff KingJun 14, 2017
  43. Brandon WilliamsJun 14, 2017
  44. 3/6 config: don't include config.h by defaultBrandon Williams, Jun 13, 2017
  45. Jonathan NiederJun 13, 2017
  46. 0/6 config.hBrandon Williams, Jun 14, 2017
  47. 1/6 config: create config.hBrandon Williams, Jun 14, 2017
  48. 2/6 config: remove git_config_iterBrandon Williams, Jun 14, 2017
  49. 4/6 setup: teach discover_git_directory to respect the commondirBrandon Williams, Jun 14, 2017
  50. 3/6 config: don't include config.h by defaultBrandon Williams, Jun 14, 2017
  51. 5/6 config: respect commondirBrandon Williams, Jun 14, 2017
  52. 6/6 config: don't implicitly use gitdir or commondirBrandon Williams, Jun 14, 2017
  53. Junio C HamanoJun 15, 2017
  54. Brandon WilliamsJun 15, 2017
  55. Junio C HamanoJun 15, 2017
  56. Brandon WilliamsJun 15, 2017
  57. Brandon WilliamsJun 16, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.