]> git.proxmox.com Git - libgit2.git/commit - include/git2/repository.h
Make init_options fns use unsigned ints and macro
authorRussell Belfer <rb@github.com>
Wed, 30 Apr 2014 17:57:42 +0000 (10:57 -0700)
committerRussell Belfer <rb@github.com>
Fri, 2 May 2014 16:21:33 +0000 (09:21 -0700)
commit702efc891f2a620f10998062ba0c00b34100f632
treee80132037df687837a40b5c3d8f1d6a079d35e43
parent9c8ed4999740e921ecc2966bbcd0dbcfc725f59a
Make init_options fns use unsigned ints and macro

Use an unsigned int for the version and add a helper macro so the
code is simplified (and so the error message is a common string).
14 files changed:
include/git2/blame.h
include/git2/clone.h
include/git2/diff.h
include/git2/merge.h
include/git2/push.h
include/git2/repository.h
src/blame.c
src/clone.c
src/common.h
src/diff.c
src/merge.c
src/push.c
src/repository.c
src/status.c