mirror of
https://github.com/git/git.git
synced 2024-11-20 15:44:05 +01:00
a48e1d67e1
This addresses a concern raised by Jason McMullan in the mailing list discussion. After retrieving and storing a potentially deltified object, pull logic tries to check and fulfil its delta dependency. When the pull procedure is killed at this point, however, there was no easy way to recover by re-running pull, since next run would have found that we already have that deltified object and happily reported success, without really checking its delta dependency is satisfied. This patch introduces --recover option to git-*-pull family which causes them to re-validate dependency of deltified objects we are fetching. A new test t5100-delta-pull.sh covers such a failure mode. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
47 lines
895 B
Plaintext
47 lines
895 B
Plaintext
git-http-pull(1)
|
|
================
|
|
v0.1, May 2005
|
|
|
|
NAME
|
|
----
|
|
git-http-pull - Downloads a remote GIT repository via HTTP
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-http-pull' [-c] [-t] [-a] [-v] [-d] [--recover] commit-id url
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Downloads a remote GIT repository via HTTP.
|
|
|
|
-c::
|
|
Get the commit objects.
|
|
-t::
|
|
Get trees associated with the commit objects.
|
|
-a::
|
|
Get all the objects.
|
|
-d::
|
|
Do not check for delta base objects (use this option
|
|
only when you know the remote repository is not
|
|
deltified).
|
|
--recover::
|
|
Check dependency of deltified object more carefully than
|
|
usual, to recover after earlier pull that was interrupted.
|
|
-v::
|
|
Report what is downloaded.
|
|
|
|
|
|
Author
|
|
------
|
|
Written by Linus Torvalds <torvalds@osdl.org>
|
|
|
|
Documentation
|
|
--------------
|
|
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
GIT
|
|
---
|
|
Part of the link:git.html[git] suite
|
|
|