diff --git a/Bindings/Libgit2/Repository.hsc b/Bindings/Libgit2/Repository.hsc
--- a/Bindings/Libgit2/Repository.hsc
+++ b/Bindings/Libgit2/Repository.hsc
@@ -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)
diff --git a/hlibgit2.cabal b/hlibgit2.cabal
--- a/hlibgit2.cabal
+++ b/hlibgit2.cabal
@@ -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
diff --git a/libgit2/include/git2/repository.h b/libgit2/include/git2/repository.h
--- a/libgit2/include/git2/repository.h
+++ b/libgit2/include/git2/repository.h
@@ -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
diff --git a/libgit2/src/repository.c b/libgit2/src/repository.c
--- a/libgit2/src/repository.c
+++ b/libgit2/src/repository.c
@@ -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;
