Provide git_config with a callback-data parameter
commitef90d6d4208a5130185b04f06e5f90a5f9959fe3
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 14 May 2008 17:46:53 +0000 (14 18:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 May 2008 19:34:44 +0000 (14 12:34 -0700)
tree1bcef191493614c192a6c690c6264ec8157ff8de
parent0bdf93cbf0afd568384f237378ba368e751a2f0f
Provide git_config with a callback-data parameter

git_config() only had a function parameter, but no callback data
parameter.  This assumes that all callback functions only modify
global variables.

With this patch, every callback gets a void * parameter, and it is hoped
that this will help the libification effort.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
74 files changed:
alias.c
archive-tar.c
builtin-add.c
builtin-apply.c
builtin-blame.c
builtin-branch.c
builtin-cat-file.c
builtin-checkout-index.c
builtin-checkout.c
builtin-clean.c
builtin-commit-tree.c
builtin-commit.c
builtin-config.c
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-tree.c
builtin-diff.c
builtin-fast-export.c
builtin-fetch-pack.c
builtin-fmt-merge-msg.c
builtin-gc.c
builtin-http-fetch.c
builtin-init-db.c
builtin-log.c
builtin-ls-files.c
builtin-ls-tree.c
builtin-mailinfo.c
builtin-merge-base.c
builtin-merge-recursive.c
builtin-mv.c
builtin-name-rev.c
builtin-pack-objects.c
builtin-read-tree.c
builtin-reflog.c
builtin-remote.c
builtin-rerere.c
builtin-reset.c
builtin-rev-list.c
builtin-rev-parse.c
builtin-revert.c
builtin-rm.c
builtin-show-branch.c
builtin-symbolic-ref.c
builtin-tag.c
builtin-unpack-objects.c
builtin-update-index.c
builtin-update-ref.c
builtin-verify-pack.c
builtin-verify-tag.c
builtin-write-tree.c
cache.h
color.c
color.h
config.c
connect.c
convert.c
daemon.c
diff.c
diff.h
fast-import.c
hash-object.c
help.c
http.c
imap-send.c
index-pack.c
ll-merge.c
pager.c
receive-pack.c
remote.c
setup.c
unpack-file.c
var.c
wt-status.c
wt-status.h