Git development
 help / color / mirror / Atom feed
From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: git@vger.kernel.org
Subject: "remote add -f --mirror" fails when the stash is non-empty
Date: Thu, 31 Jul 2008 23:50:39 +0200	[thread overview]
Message-ID: <20080731215039.GA9964@atjola.homenet> (raw)

Hi,

when there are stashed changes in a repo, creating a mirror with "remote
add -f --mirror" fails, because it is missing the objects that are on
the stash.

$ git remote add -f --mirror or ~/src/git
Updating or
remote: Counting objects: 80150, done.
remote: Compressing objects: 100% (21254/21254), done.
remote: Total 80150 (delta 57481), reused 80146 (delta 57477)
Receiving objects: 100% (80150/80150), 21.21 MiB | 16028 KiB/s, done.
Resolving deltas: 100% (57481/57481), done.
From /home/doener/src/git
 * [new branch]      master     -> master
 * [new branch]      rebase     -> rebase
 * [new branch]      origin/HEAD -> origin/HEAD
 * [new branch]      origin/html -> origin/html
 * [new branch]      origin/maint -> origin/maint
 * [new branch]      origin/man -> origin/man
 * [new branch]      origin/master -> origin/master
 * [new branch]      origin/next -> origin/next
 * [new branch]      origin/pu  -> origin/pu
 * [new branch]      origin/todo -> origin/todo
error: unable to find 9e5c2066d7d2bdca937a11b45a7ed8354c637bc9
fatal: object 9e5c2066d7d2bdca937a11b45a7ed8354c637bc9 not found
error: Could not fetch or

In ~/src/git:
$ git rev-parse stash
9e5c2066d7d2bdca937a11b45a7ed8354c637bc9

No idea if that is a recent breakage, as I learned about the --mirror
option recently and most of the time my stash is empty anyway.

Björn

                 reply	other threads:[~2008-07-31 21:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080731215039.GA9964@atjola.homenet \
    --to=b.steinbrink@gmx.de \
    --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