Skip to content

git_config callers rewritten with the new config cache API

Tanay Abhra git 4 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 posting 2/21 of 11 patches 0 repliesNew
  2. v4 Latest5 patches 10 repliesIn review
  3. v3 posting 1/26 patches 20 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v21 patch3 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pager.c: replace `git_config()` with `git_config_get_value()`pager.c+13 -270 replies
2/5notes.c: replace `git_config()` with `git_config_get_value_multi()`notes.c+14 -155 replies
3/5imap-send.c: replace `git_config()` with `git_config_get_*()` familyimap-send.c+27 -340 replies
4/5branch.c: replace `git_config()` with `git_config_get_string()branch.c+4 -201 reply
5/5alias.c: replace `git_config()` with `git_config_get_string()`alias.c+6 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/5] git_config callers rewritten with the new config cache API

[PATCH v4]: Tiny style nits corrected. Patch 2/5 has been totally reworked.
One thing to check is if the config variables I changed in the series are single valued or multi valued. Though I have tried to ascertain if the variable was single valued or not by reading the docs and code, mistakes may creep in.

[PATCH v3]: Most of Eric's suggestions has been implemented. See [2] for discussion.
Also, new helpers introduced in v7 of the config-set API series have been used.

This series builds on the top of 4c715ebb in pu (ta/config-set).
See [1] for the documentation of the new API functions and a general description of the new API.

[1]: http://thread.gmane.org/gmane.comp.version-control.git/254286/
[2]: http://thread.gmane.org/gmane.comp.version-control.git/252334

Tanay Abhra (5):

 alias.c     | 25 ++++++-------------------
 branch.c    | 24 ++++--------------------
 imap-send.c | 61 +++++++++++++++++++++++++++----------------------------------
 notes.c     | 29 ++++++++++++++---------------
 pager.c     | 40 +++++++++++++---------------------------
 5 files changed, 64 insertions(+), 115 deletions(-)
Signature · 1 line
1.9.0.GIT