Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clear parsed flag when we free tree buffers
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index bd66f6ab6edd24946d2bc84e117a2b97417b1503..c13b44184dd94272331007ad75ed3716c12c9307 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-1330,8
+1330,7
@@
static struct object_list **process_tree(struct tree *tree,
break;
}
- free(tree->buffer);
- tree->buffer = NULL;
+ free_tree_buffer(tree);
return p;
}
@@
-1551,7
+1550,7
@@
static int remote_exists(const char *path)
ret = 0;
break;
case HTTP_ERROR:
-
http_error(url, HTTP_ERROR
);
+
error("unable to access '%s': %s", url, curl_errorstr
);
default:
ret = -1;
}