Skip to content

spare warnings on master

Ramsay Jones git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 34 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Makefile: Add a target to generate C preprocessor output filesMakefile+3 -10 replies
1/2sparse: Fix an "Using plain integer as NULL pointer" warningkwset.c+1 -10 replies
1/2credential-cache--daemon.c: Don't leave stale socket on --exitcredential-cache--daemon.c+12 -113 replies
1/2t1100-*.sh: Fix an intermittent test failuret/t1100-commit-tree-options.sh+1 -00 replies
1/2fast-import: Fix an gcc -Wuninitialized warningfast-import.c+1 -03 replies
1/2mingw: rename WIN32 cpp macro to GIT_NATIVE_WINDOWSabspath.c compat/terminal.c compat/win32.h +6 more+15 -143 replies
1/2show-ref.c: Add missing call to git_config()builtin/show-ref.c+2 -04 replies
1/2send-pack.c: mark a file-local function staticsend-pack.c+1 -10 replies
2/2MSVC: Fix an "incompatible pointer types" compiler warningcompat/mingw.h compat/msvc.h+27 -254 replies
2/2obstack.c: Fix some sparse warningscompat/obstack.c+7 -82 replies
2/2credential-cache--daemon.c: unlink() a potentially stale unix socketcredential-cache--daemon.c+1 -01 reply
2/2t7810-*.sh: Remove redundant testt/t7810-grep.sh+0 -110 replies
2/2cat-file: Fix an gcc -Wuninitialized warningbuiltin/cat-file.c+1 -15 replies
2/2cygwin: Remove the CYGWIN_V15_WIN32API build variableMakefile compat/cygwin.c config.mak.uname+0 -132 replies
2/2pack-refs.c: Add missing call to git_config()builtin/pack-refs.c+3 -00 replies
2/2shallow: Remove unused codebuiltin/receive-pack.c commit.h fetch-pack.c +1 more+0 -201 reply

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchJonathan Nieder
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
1/2R-b
2/2R-b
2/2R-b
2/2R-b
2/2R-b
2/2R-b
2/2R-b
2/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add missing calls to git_config()

Hi Junio,

I recently had need to use the '-c' option to git in order to set some config variables from the command line; specifically with 'git show-ref' and 'git pack-refs'. I haven't looked to see if any other commands need similar attention, but:

    $ git grep 'cmd_.*(int argc' -- builtin | wc -l
    109
    $ git grep 'git_config(' -- builtin | wc -l
    80
    $

... maybe. ;-)

[I did think about separating the command line processing from the config file processing; maybe some commands could accept config settings from the command line, but do not need/want the regular config file processing? *dunno*.]

ATB,
Ramsay Jones

Ramsay Jones (2):
show-ref.c: Add missing call to git_config()
pack-refs.c: Add missing call to git_config()

 builtin/pack-refs.c | 3 +++
 builtin/show-ref.c  | 2 ++
 2 files changed, 5 insertions(+)
Signature · 1 line
1.8.3