Package: git-core
Version: 1:1.6.5.2-1
Severity: normal

TopGit inserts the following fetch lines in .git/config:

  fetch = +refs/heads/*:refs/remotes/origin/*
  fetch = +refs/top-bases/*:refs/remotes/origin/top-bases/*

This confuses git-remote show/prune, as top-bases/* now matches both
lines; each ref will be declared up-to-date according to one, and
obsolete according to the other.

Here's a simple illustration:

  mkdir 1
  cd 1
  git init
  touch foo
  git add foo
  git commit -m foo
  git update-ref refs/feet/slave HEAD
  cd ..
  git clone 1 2
  cd 2
  sed -ie '/fetch =/a\\tfetch = +refs/feet/*:refs/remotes/origin/feet/*' \
        .git/config
  git remote show origin
  git remote update origin
  git remote prune origin
  git remote update origin


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26.8 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-core depends on:
ii  libc6                  2.10.1-3          GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.19.5-1.1        Multi-protocol file transfer libra
ii  libdigest-sha1-perl    2.12-1            NIST SHA-1 message digest algorith
ii  liberror-perl          0.17-1            Perl module for error/exception ha
ii  libexpat1              2.0.1-4           XML parsing C library - runtime li
ii  perl-modules           5.10.1-6          Core Perl modules
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages git-core recommends:
ii  less                          436-1      pager program similar to more
ii  openssh-client [ssh-client]   1:5.1p1-8  secure shell client, an rlogin/rsh
ii  patch                         2.5.9-5    Apply a diff file to an original
ii  rsync                         3.0.6-1    fast remote file copy program (lik

Versions of packages git-core suggests:
pn  git-arch                     <none>      (no description available)
ii  git-cvs                      1:1.6.5.2-1 fast, scalable, distributed revisi
pn  git-daemon-run               <none>      (no description available)
pn  git-doc                      <none>      (no description available)
ii  git-email                    1:1.6.5.2-1 fast, scalable, distributed revisi
pn  git-gui                      <none>      (no description available)
ii  git-svn                      1:1.6.5.2-1 fast, scalable, distributed revisi
ii  gitk                         1:1.6.5.2-1 fast, scalable, distributed revisi
pn  gitweb                       <none>      (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to