From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: Michael J Gruber <git@drmicha.warpmail.net>,
Steven Rostedt <rostedt@goodmis.org>,
Darren Hart <darren@dvhart.com>,
git@vger.kernel.org
Subject: Re: [PATCH] Documentation/git-clone: describe --mirror more verbose
Date: Tue, 5 Oct 2010 09:01:13 +0200 [thread overview]
Message-ID: <20101005070113.GE11737@pengutronix.de> (raw)
In-Reply-To: <7vlj6d988o.fsf@alter.siamese.dyndns.org>
Hi Junio,
On Mon, Oct 04, 2010 at 10:29:43AM -0700, Junio C Hamano wrote:
> Michael J Gruber <git@drmicha.warpmail.net> writes:
>
> >> I choosed to write "overwritten" instead of "updated" to make it clearer
> >> that it makes no sence to push into these branches from a different
> >> source. Should this be noted more explicit?
> >
> > "update" may be more Git lingo but I think either is fine. "overwritten"
> > makes it clearer this is not a repo to do development in...
>
> In a repository with remote.origin.mirror set to true, "git fetch origin"
> does not seem to prune a ref that has been removed from the origin. I
> think that is a design bug, albeit a minor one ("git fetch -p origin" can
> fix, but "-p" should not be necessary). A "mirror"'s purpose is to, ehh,
> mirror a remote so that local people can share it as a nearby copy.
>
> A wording that also implies this automatic deletion of a stale ref would
> be nice; "overwritten" does not exactly sound like that, though.
So you intend to change git fetch origin to remove stale refs, right?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2010-10-05 7:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-01 20:13 [PATCH] Documentation/git-clone: describe --mirror more verbose Uwe Kleine-König
2010-10-01 20:18 ` Darren Hart
2010-10-01 21:16 ` Steven Rostedt
2010-10-04 7:25 ` Michael J Gruber
2010-10-04 7:50 ` Uwe Kleine-König
2010-10-04 8:23 ` Michael J Gruber
2010-10-04 8:50 ` Uwe Kleine-König
2010-10-04 9:28 ` Michael J Gruber
2010-10-04 9:51 ` [PATCH v2] " Uwe Kleine-König
2010-10-04 12:47 ` Steven Rostedt
2010-10-04 12:52 ` Michael J Gruber
2010-10-04 14:42 ` Darren Hart
2010-10-04 17:28 ` [PATCH v3] Documentation/git-clone: describe --mirror more verbosely Uwe Kleine-König
2010-10-04 17:29 ` [PATCH] Documentation/git-clone: describe --mirror more verbose Junio C Hamano
2010-10-04 17:39 ` Matthieu Moy
2010-10-04 19:05 ` Darren Hart
2010-10-05 7:01 ` Uwe Kleine-König [this message]
2010-10-05 15:41 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101005070113.GE11737@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=darren@dvhart.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).