packages feed

hlibgit2 0.17.0.3 → 0.17.0.4

raw patch · 4 files changed

+3/−18 lines, 4 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Bindings.Libgit2.Repository: c'git_repository_new :: Ptr (Ptr C'git_repository) -> IO (CInt)
- Bindings.Libgit2.Repository: p'git_repository_new :: FunPtr (Ptr (Ptr C'git_repository) -> IO (CInt))

Files

Bindings/Libgit2/Repository.hsc view
@@ -15,7 +15,6 @@ #num GIT_REPOSITORY_OPEN_NO_SEARCH #num GIT_REPOSITORY_OPEN_CROSS_FS #ccall git_repository_open_ext , Ptr (Ptr <git_repository>) -> CString -> CUInt -> CString -> IO (CInt)-#ccall git_repository_new , Ptr (Ptr <git_repository>) -> IO (CInt) #ccall git_repository_free , Ptr <git_repository> -> IO () #ccall git_repository_init , Ptr (Ptr <git_repository>) -> CString -> CUInt -> IO (CInt) #ccall git_repository_head , Ptr (Ptr <git_reference>) -> Ptr <git_repository> -> IO (CInt)
hlibgit2.cabal view
@@ -1,11 +1,11 @@ Name:                hlibgit2-Version:             0.17.0.3+Version:             0.17.0.4 Synopsis:            Low-level bindings to libgit2 Description:         Bindings to libgit2 v0.17.0. License-file:        LICENSE License:             MIT Author:              John Wiegley, Sakari Jokinen, Jacob Stanleyyeah,-Maintainer:          johnw@newartisans.com+Maintainer:          johnw@fpcomplete.com Build-Type:          Simple Cabal-Version:       >=1.10 Category:            FFI@@ -22,7 +22,7 @@  Source-repository head   type: git-  location: git://github.com/jwiegley/hlibgit2.git+  location: git://github.com/fpco/gitlib.git  Test-suite smoke   default-language: Haskell98
libgit2/include/git2/repository.h view
@@ -85,14 +85,6 @@ 	const char *ceiling_dirs);  /**- * Create a new repository with neither backends nor config object- *- * Note that this is only useful if you wish to associate the repository- * with a non-filesystem-backed object database and config store.- */-GIT_EXTERN(int) git_repository_new(git_repository **out);--/**  * Free a previously allocated repository  *  * Note that after a repository is free'd, all the objects it has spawned
libgit2/src/repository.c view
@@ -116,12 +116,6 @@ 	return repo; } -int git_repository_new(git_repository **out)-{-	*out = repository_alloc();-	return 0;-}- static int load_config_data(git_repository *repo) { 	int is_bare;