On Tue, Mar 26, 2013 at 11:47 PM, Junio C Hamano gits...@pobox.com wrote:
The difference between --mirror and no --mirror is a red herring.
You may want to ask Jeff Mitchell to remove the mention of it; it
only adds to the confusion without helping users. If you made
byte-for-byte copy of
On Wed, Mar 27, 2013 at 8:33 PM, Junio C Hamano gits...@pobox.com wrote:
Sitaram Chamarty sitar...@gmail.com writes:
On Wed, Mar 27, 2013 at 9:17 AM, Junio C Hamano gits...@pobox.com wrote:
To be paranoid, you may want to set transfer.fsckObjects to true,
perhaps in your ~/.gitconfig.
do
Jonathan Nieder-2 wrote
Is the [transfer] fsckObjects configuration on the host executing the
clone set to true?
I hadn't been setting it at all, and according to git-config(1) it defaults
to false, so the answer is no. It looks like setting it might be a good
idea.
But I'm still somewhat
Junio C Hamano wrote
If you use --local, that is equivalent to cp -R. Your corruption
in the source will faithfully be byte-for-byte copied to the
destination. If you do not
...
transport layer will notice
object corruption.
...
The difference between --mirror and no --mirror is a red
Rich Fromm richard_fr...@yahoo.com writes:
Apologies if my questions are considered slightly off topic -- I'm not
positive if this is supposed to be a list for developers, and not users.
The list is both for users and developers.
However, I think there may be room for some additional clarity
On Wed, Mar 27, 2013 at 11:23:15AM -0700, Rich Fromm wrote:
But I'm still somewhat confused about what is and is not checked under what
conditions. Consider the three statements:
# 1
git clone --mirror myuser@myhost:my_repo
# 2
git clone --mirror --config transfer.fsckObjects=true
On Mon, Mar 25, 2013 at 4:07 PM, Jeff King p...@peff.net wrote:
On Mon, Mar 25, 2013 at 12:32:50PM -0400, Jeff Mitchell wrote:
For commit corruptions, the --no-hardlinks, non --mirror case refused
to create the new repository and exited with an error code of 128. The
--no-hardlinks, --mirror
On Tue, Mar 26, 2013 at 09:43:01AM -0400, Jeff Mitchell wrote:
On Mon, Mar 25, 2013 at 4:07 PM, Jeff King p...@peff.net wrote:
On Mon, Mar 25, 2013 at 12:32:50PM -0400, Jeff Mitchell wrote:
For commit corruptions, the --no-hardlinks, non --mirror case refused
to create the new repository
From: Jeff King p...@peff.net
Sent: Tuesday, March 26, 2013 4:55 PM
On Tue, Mar 26, 2013 at 09:43:01AM -0400, Jeff Mitchell wrote:
On Mon, Mar 25, 2013 at 4:07 PM, Jeff King p...@peff.net wrote:
On Mon, Mar 25, 2013 at 12:32:50PM -0400, Jeff Mitchell wrote:
For commit corruptions, the
On Tue, Mar 26, 2013 at 09:59:42PM -, Philip Oakley wrote:
Which way does `git bundle file.bundl --all` perform after the changes
for both the 'transport' checking and being reliable during updates.
Bundles are treated at a fairly low level the same as a remote who
provides us a particular
Jeff King wrote
Fundamentally the problem is
that the --local transport is not safe from propagating corruption, and
should not be used if that's a requirement.
I've read Jeff Mitchell's blog post, his update, relevant parts of the
git-clone(1) man page, and a decent chunk of this thread, and
Hi,
Rich Fromm wrote:
The host executing the clone
command is different than the the host on which the remote repository lives,
and I am using ssh as a transport protocol. If there is corruption, can I
or can I not expect the clone operation to
Rich Fromm richard_fr...@yahoo.com writes:
Jeff King wrote
Fundamentally the problem is
that the --local transport is not safe from propagating corruption, and
should not be used if that's a requirement.
I've read Jeff Mitchell's blog post, his update, relevant parts of the
git-clone(1)
On Mon, Mar 25, 2013 at 09:43:23AM -0400, Jeff Mitchell wrote:
But I haven't seen exactly what the corruption is, nor exactly what
commands they used to clone. I've invited the blog author to give more
details in this thread.
The syncing was performed via a clone with git clone --mirror
On Mon, Mar 25, 2013 at 9:56 PM, Jeff King p...@peff.net wrote:
There are basically three levels of transport that can be used on a
local machine:
1. Hard-linking (very fast, no redundancy).
2. Byte-for-byte copy (medium speed, makes a separate copy of the
data, but does not check
On Mon, Mar 25, 2013 at 10:31:04PM +0700, Nguyen Thai Ngoc Duy wrote:
On Mon, Mar 25, 2013 at 9:56 PM, Jeff King p...@peff.net wrote:
There are basically three levels of transport that can be used on a
local machine:
1. Hard-linking (very fast, no redundancy).
2. Byte-for-byte
On Mon, Mar 25, 2013 at 11:56 AM, Jeff King p...@peff.net wrote:
On Mon, Mar 25, 2013 at 10:31:04PM +0700, Nguyen Thai Ngoc Duy wrote:
On Mon, Mar 25, 2013 at 9:56 PM, Jeff King p...@peff.net wrote:
There are basically three levels of transport that can be used on a
local machine:
1.
Jeff King p...@peff.net writes:
We _do_ see a problem during the checkout phase, but we don't propagate
a checkout failure to the exit code from clone. That is bad in general,
and should probably be fixed. Though it would never find corruption of
older objects in the history, anyway, so
On Mon, Mar 25, 2013 at 01:01:59PM -0700, Junio C Hamano wrote:
Jeff King p...@peff.net writes:
We _do_ see a problem during the checkout phase, but we don't propagate
a checkout failure to the exit code from clone. That is bad in general,
and should probably be fixed. Though it would
On Mon, Mar 25, 2013 at 12:32:50PM -0400, Jeff Mitchell wrote:
I think what was conflating the issue in my testing is that with
--mirror it implies --bare, so there would be checking of the objects
when the working tree was being created, hence --mirror won't show the
error a normal clone
On Sun, Mar 24, 2013 at 7:31 PM, Jeff King p...@peff.net wrote:
I don't have details on the KDE corruption, or why it wasn't detected
(if it was one of the cases I mentioned above, or a more subtle issue).
One thing worth mentioning is this part of the article:
Originally, mirrored clones
On Sun, Mar 24, 2013 at 08:01:33PM +0100, Ævar Arnfjörð Bjarmason wrote:
On Sun, Mar 24, 2013 at 7:31 PM, Jeff King p...@peff.net wrote:
I don't have details on the KDE corruption, or why it wasn't detected
(if it was one of the cases I mentioned above, or a more subtle issue).
One
On Sun, Mar 24, 2013 at 02:31:33PM -0400, Jeff King wrote:
Fscking the incoming objects does work, but of course it comes at a cost
in the normal case (for linux-2.6, I measured an increase in CPU time
with index-pack --strict from ~2.5 minutes to ~4 minutes). And I think
it is probably
23 matches
Mail list logo