git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dennis Heidsiek <dennis.heidsiek@gmail.com>
To: git@vger.kernel.org
Subject: [BUG] git fetch --all --tags doesn't fetch remote branches, only tags
Date: Tue, 01 Jan 2013 01:43:09 +0100	[thread overview]
Message-ID: <50E2311D.8080707@gmail.com> (raw)

Dear Git community,


i think there may be a bug in the fetch command: The command

> $ git fetch --all --tags
> Fetching origin

doesn’t fetch new commits from origin/master, while i see via the web browser of my remote repository that they exist. The same with verbose:

> $ git fetch --all --tags --verbose
> Fetching origin
> From git://repo.or.cz/wortliste
>  = [up to date]      Trennmuster-20071020 -> Trennmuster-20071020
>  = [up to date]      Trennmuster-20071223 -> Trennmuster-20071223
>  = [up to date]      Trennmuster-20080601 -> Trennmuster-20080601
>  = [up to date]      dehyph-exptl-v0.1 -> dehyph-exptl-v0.1
>  = [up to date]      dehyph-exptl-v0.11 -> dehyph-exptl-v0.11
>  = [up to date]      dehyph-exptl-v0.12 -> dehyph-exptl-v0.12
>  = [up to date]      dehyph-exptl-v0.12.1 -> dehyph-exptl-v0.12.1
>  = [up to date]      dehyph-exptl-v0.13 -> dehyph-exptl-v0.13
>  = [up to date]      dehyph-exptl-v0.20 -> dehyph-exptl-v0.20
>  = [up to date]      dehyph-exptl-v0.22 -> dehyph-exptl-v0.22
>  = [up to date]      dehyph-exptl-v0.23 -> dehyph-exptl-v0.23

Only if i omit the --tags commit, fetch does what i expect:

> $ git fetch --all --verbose
> Fetching origin
> remote: Counting objects: 13, done.
> remote: Compressing objects: 100% (8/8), done.
> remote: Total 8 (delta 5), reused 0 (delta 0)
> Unpacking objects: 100% (8/8), done.
> From git://repo.or.cz/wortliste
>    7c71430..176027b  master     -> origin/master
>  = [up to date] Keine-Haupttrennstellen-in-zweisilbigen-Wörtern -> origin/Keine-Haupttrennstellen-in-zweisilbigen-Wörtern
>  = [up to date]      python-skripts -> origin/python-skripts

I think this may be a bug; i’m using my git alias fa = fetch --all --tags --verbose quite often, and it worked in previous versions of Git.

Finnally, i’m using Git 1.8.0.3  under Ubuntu 10.04.4 LTS x86_64 via this PPA: https://launchpad.net/~git-core/+archive/ppa

Thank you for your time reading this and of cause a happy new year!


With best greetings,
Dennis Heidsiek


PS: I’m no subscriber of the Git mailing list.

             reply	other threads:[~2013-01-01  1:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-01  0:43 Dennis Heidsiek [this message]
2013-01-01  1:15 ` [BUG] git fetch --all --tags doesn't fetch remote branches, only tags Junio C Hamano
2013-01-01  1:28   ` Dennis Heidsiek

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=50E2311D.8080707@gmail.com \
    --to=dennis.heidsiek@gmail.com \
    --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).