]> git.proxmox.com Git - libgit2.git/commit - src/libgit2/repository.c
Added function-based initializers for every options struct.
authorMatthew Bowen <matthew@mgbowen.com>
Thu, 6 Mar 2014 02:49:23 +0000 (21:49 -0500)
committerMatthew Bowen <matthew@mgbowen.com>
Thu, 6 Mar 2014 02:49:23 +0000 (21:49 -0500)
commitb9f819978c571cc806827e8b3ebc1a58a0755999
tree64c94ef334360b064a3bdf9b6069c1422f727150
parenta064dc2d0b6206116a35be4b62c58c3c1170d5de
Added function-based initializers for every options struct.

The basic structure of each function is courtesy of arrbee.
29 files changed:
include/git2/blame.h
include/git2/checkout.h
include/git2/clone.h
include/git2/diff.h
include/git2/merge.h
include/git2/push.h
include/git2/remote.h
include/git2/repository.h
include/git2/revert.h
include/git2/status.h
include/git2/sys/config.h
include/git2/sys/odb_backend.h
include/git2/sys/refdb_backend.h
include/git2/transport.h
src/blame.c
src/checkout.c
src/clone.c
src/config.c
src/diff.c
src/merge.c
src/odb.c
src/push.c
src/refdb.c
src/remote.c
src/repository.c
src/revert.c
src/status.c
src/transport.c
tests/structinit/structinit.c [new file with mode: 0644]