From: Mike Hommey <hidden> Date: 2016-06-15 22:46:48
On Mon, May 18, 2009 at 04:30:25PM +0800, Tay Ray Chuan wrote:
This patch series applies on pu.
The major differences between this series and the 11-patch long one
(dated May 15, 2009) are:
*check 'preq' pointer before using it (for fetching packs) [1]
*moved free(url) before 'abort' label to stop -Wuninitialized warning
(for fetching loose objects) [2]
*use unlink_or_warn, after 691f1a2 ("replace direct calls to unlink
(2) with unlink_or_warn")
Junio: I've rebased the patch series on pu, hopefully this stops the
attribute warnings for patch 3.
Tay Ray Chuan (3):
http*: add helper methods for fetching packs
http*: add helper methods for fetching objects/info/packs
http*: add helper methods for fetching objects (loose)
I do think these would be even better if they were integrated with
http://kerneltrap.org/mailarchive/git/2009/1/18/4757804.
Speaking of which, do we have a better http test suite now ? If we do, I
can try to (finally) finalize my work.
Mike
From: Tay Ray Chuan <hidden> Date: 2016-06-15 22:46:48
Hi,
On Wed, May 20, 2009 at 6:21 PM, Johannes Schindelin
[off-list ref] wrote:
Oops, sorry, I know I promised to work on that, but I simply lack the
time.
a quick list of tests available for http* (I left out some minor ones):
t5540-http-push:
*push to remote repository with packed refs
*push to remote repository with unpacked refs
*http-push fetches unpacked objects
*http-push fetches packed objects
*create and delete remote branch
t5550-http-fetch:
*fetch changes via http
*http remote detects correct HEAD
*fetch packed objects
Mike and Johannes, what else do you have in mind?
--
Cheers,
Ray Chuan
yes, I agree very much with your proposed http API, with methods for
fetching to files and strbufs. Please think of my patch series as an
intermediate step for your patches, by reducing the amount of code
involved in this API-ish refactoring.
I'm presently working on this.
--
Cheers,
Ray Chuan
From: Tony Finch <dot@dotat.at> Date: 2016-06-15 22:46:48
On this topic, some of my friends have complained that git doesn't
automatically try appending .git to a URL when it fails to find a
bare git repository on the server.
Tony.
--
f.anthony.n.finch [off-list ref] http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.