git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: John Tapsell <johnflux@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>, Git List <git@vger.kernel.org>
Subject: Re: Automatically remote prune
Date: Thu, 05 Nov 2009 12:05:13 -0800	[thread overview]
Message-ID: <7v3a4sagau.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <43d8ce650911050005l6d120cb0h374f3c04b3948b25@mail.gmail.com> (John Tapsell's message of "Thu\, 5 Nov 2009 17\:05\:50 +0900")

John Tapsell <johnflux@gmail.com> writes:

> I omitted it just because, imho, it's not what I 'care about'.  I'm
> not trying to help advanced users (Users that _want_ to keep
> remotes/origin/* clean and users that _want_ to be careful to not lose
> commits are both advanced users, imho).  I'm just interested in
> reducing confusion for non-advanced users.

I _think_ you are saying that your non-advanced users expect "branch -r"
output to be in sync (to the extent possible without going over the
network every time it is run) with the remote side. It is the same thing
as keeping remotes/origin/* free of stale remote branches, i.e. they are
in the first camp.  There is nothing advanced about either of the camps.
The former wants the view to be in sync, the latter wants a way to avoid
information loss.

It is understandable to expect "branch -r" output to be in sync with the
other end, especially if one has CVS/SVN mentality but even if one
doesn't, I would say it is a reasonable thing to expect.

I am open to an optional feature to "git fetch' to prune them, but I would
not make it the default from day one.  When introducing a change that
causes information loss, our migration strategy has always been "Give an
option first, release and wait for two releases or so, and then start
discussing to change the default behaviour."

The necessary change to "git fetch" shouldn't be too hard to code, as we
are already doing this in mirror mode.

  reply	other threads:[~2009-11-05 20:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04 10:42 Automatically remote prune John Tapsell
2009-11-04 18:04 ` Junio C Hamano
2009-11-05  1:41   ` John Tapsell
2009-11-05  2:00     ` Shawn O. Pearce
2009-11-05  2:23     ` Junio C Hamano
2009-11-05  3:15       ` Sitaram Chamarty
2009-11-05  8:05       ` John Tapsell
2009-11-05 20:05         ` Junio C Hamano [this message]
2009-11-05 23:09           ` Jay Soffian
2009-11-06  0:17             ` Petr Baudis
2009-11-06  0:38               ` Jay Soffian
2009-11-06 10:31                 ` Petr Baudis
2009-11-08 19:08                   ` Junio C Hamano
2009-11-06  0:16         ` Petr Baudis
2009-11-05 13:19       ` Dmitry Potapov

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=7v3a4sagau.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=johnflux@gmail.com \
    /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).