git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Brandon Casey <casey@nrlssc.navy.mil>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: fetch <repo> <branch>:<branch> fetches tags?
Date: Mon, 28 Jan 2008 18:47:51 -0800	[thread overview]
Message-ID: <7v3ashs5yg.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <479E9063.5000403@nrlssc.navy.mil> (Brandon Casey's message of "Mon, 28 Jan 2008 20:33:07 -0600")

Brandon Casey <casey@nrlssc.navy.mil> writes:

> I expect these to fetch tags automatically (and they do):
>
>    git fetch
>    git pull
>    git fetch <repo>
>    git pull <repo>
>
> I expect these to _not_ fetch tags (and they don't):
>
>    git fetch <repo> <branch>
>    git pull <repo> <branch>
>
> But, I did not expect these to fetch tags:
>
>    git fetch <repo> <branch>:<branch>
>    git pull <repo> <branch>:<branch>

Sigh... that matches my expectation.

Did we break it when we overhauled "git fetch", or was this an
independent "improvement" that happened long before that?

  parent reply	other threads:[~2008-01-29  2:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29  2:33 fetch <repo> <branch>:<branch> fetches tags? Brandon Casey
2008-01-29  2:41 ` Johannes Schindelin
2008-01-29  3:09   ` Brandon Casey
2008-01-29  2:47 ` Junio C Hamano [this message]
2008-01-29  4:19   ` Shawn O. Pearce
2008-01-29  5:26   ` Junio C Hamano
2008-01-29  8:46     ` Brandon Casey
2008-01-29  8:54       ` Junio C Hamano
2008-01-29 17:08         ` Brandon Casey

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=7v3ashs5yg.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=casey@nrlssc.navy.mil \
    --cc=git@vger.kernel.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).