packages feed

hlibgit2 0.18.0.7 → 0.18.0.9

raw patch · 2 files changed

+7/−8 lines, 2 files

Files

hlibgit2.cabal view
@@ -1,5 +1,5 @@ Name:                hlibgit2-Version:             0.18.0.7+Version:             0.18.0.9 Synopsis:            Low-level bindings to libgit2 Description:         Bindings to libgit2 v0.18.0. License-file:        LICENSE@@ -207,8 +207,7 @@     libgit2/src     libgit2/deps/http-parser -  cc-options: -g         -DGIT_THREADS -D_FILE_OFFSET_BITS=64 -DGIT_SSL-  ld-options: -g+  cc-options: -DGIT_THREADS -D_FILE_OFFSET_BITS=64 -DGIT_SSL   if os(windows)     cpp-options: -DWINDOWS     cc-options: -DGIT_WIN32 -DWIN32 -DWIN32_SHA1 -D_DEBUG -D_WIN32_WINNT=0x0501 -DGIT_WINHTTP
libgit2/src/pack.c view
@@ -837,7 +837,7 @@ 		goto cleanup;  	/* If we created the struct before we had the pack we lack size. */-	if (!p->mwf.size) {+	if (1 || !p->mwf.size) { 		if (!S_ISREG(st.st_mode)) 			goto cleanup; 		p->mwf.size = (git_off_t)st.st_size;@@ -909,10 +909,10 @@ 		p->pack_keep = 1;  	strcpy(p->pack_name + path_len, ".pack");-	if (p_stat(p->pack_name, &st) < 0 || !S_ISREG(st.st_mode)) {-		git__free(p);-		return git_odb__error_notfound("packfile not found", NULL);-	}+	/* if (p_stat(p->pack_name, &st) < 0 || !S_ISREG(st.st_mode)) { */+	/* 	git__free(p); */+	/* 	return git_odb__error_notfound("packfile not found", NULL); */+	/* } */  	/* ok, it looks sane as far as we can check without 	 * actually mapping the pack file.