Re: [PATCH 2/3] remote: separate the concept of push and fetch mirrors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff King <peff@xxxxxxxx> writes:

> I think the problem is not that users lack common sense. It is that we
> give them an option called "--mirror" that sets up a bogus config in
> some circumstances. So it is the git developers who lack common sense, I
> think. :)
>
> Specifically, 84bb2df should not have started setting "remote.*.mirror",
> as it was already about fetching into a bare repository. And probably
> --mirror in a non-bare repo should have complained from the beginning.

What I meant was that what 84bb2df did was sufficient for people who know
which one they wanted and stuck with what they said they wanted.

What would we call a person who first asks "I want a push mirror to save
away my work" and then says "now let's fetch from there", without
realizing that such a fetch will obliterate his work?  I agree that it
probably is asking a bit more than "common sense"; it perhaps requires an
ability to think for 5 minutes what oneself is doing ;-).

> But hey, hindsight is 20/20.

Indeed.

Thanks.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]