git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Schwinge <thomas@schwinge.name>
To: git@vger.kernel.org
Subject: Removing alternates -- but how?
Date: Tue, 13 Apr 2010 14:57:04 +0200	[thread overview]
Message-ID: <20100413125704.GA29552@dirichlet.schwinge.homeip.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1919 bytes --]

Hello!

According to ``information on the web'', it should be fine to do ``git
repack -a && rm .git/objects/info/alternates'', however that doesn't work
for me:

    $ cat .git/objects/info/alternates
    ../../../glibc/.git/objects
    ../../../../O/work.new/.git/objects
    $ git repack -a
    Counting objects: 18670, done.
    Compressing objects: 100% (7655/7655), done.
    Writing objects: 100% (18670/18670), done.
    Total 18670 (delta 10218), reused 18670 (delta 10218)
    $ mv .git/objects/info/alternates{,.DEFUNCT}
    $ git branch
    error: refs/remotes/grubber/master does not point to a valid object!
    error: refs/remotes/sourceware/cvs/fedora-2_3-branch does not point to a valid object!
    error: refs/remotes/sourceware/cvs/fedora-2_5-branch does not point to a valid object!
    [...]
    error: refs/tags/cvs/sparc-980522-merge does not point to a valid object!
    error: refs/tags/cvs/start does not point to a valid object!
    error: refs/tags/master-2008-11-27 does not point to a valid object!
    error: refs/tags/master-2009-02-10 does not point to a valid object!
    error: refs/tags/master-2009-07-10 does not point to a valid object!
    error: refs/top-bases/t/IOCTL_decode_argument does not point to a valid object!
    error: refs/top-bases/t/IOCTL_types does not point to a valid object!
    error: refs/top-bases/t/____longjmp_chk_cleanup_linux_x86_64 does not point to a valid object!
    error: refs/top-bases/t/bits_posix_opt.h__POSIX_THREADS does not point to a valid object!
    error: refs/top-bases/t/bits_pthreadtypes.h does not point to a valid object!
      baseline
      posix/regex_internal.c/MAX_undefined
      t/IOCTL_decode_argument
      t/IOCTL_types
      t/____longjmp_chk
      t/____longjmp_chk_cleanup_linux_x86_64
      t/__rtld_lock_recursive_t
    [...]
      t/verify.h
    * tschwinge/Roger_Whittaker

What am I doing wrong?


Regards,
 Thomas

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

             reply	other threads:[~2010-04-13 13:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-13 12:57 Thomas Schwinge [this message]
2010-04-13 15:58 ` Removing alternates -- but how? Miklos Vajna
2010-04-14  7:25   ` Michael J Gruber

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=20100413125704.GA29552@dirichlet.schwinge.homeip.net \
    --to=thomas@schwinge.name \
    --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).