Re: git remote --mirror bug?
- From
- Joakim Tjernlund <joakim.tjernlund@transmode.se>
- Date
- Mar 15, 2008, 18:08 UTC
- Message-ID
- <1205604534.7589.20.camel@gentoo-jocke.transmode.se>
- In-Reply-To
- <1205499956.7589.4.camel@gentoo-jocke.transmode.se>
On Fri, 2008-03-14 at 14:05 +0100, Joakim Tjernlund wrote:
Show 18 quoted lines
> Created a mirror like so: > git --bare init > git remote add --mirror os2kernel /usr/local/src/os2kernel > > Git fetch errors out > git fetch os2kernel > fatal: * refusing to create funny ref 'refs/stash' locally > > Also > git remote show os2kernel > * remote os2kernel > URL: /usr/local/src/os2kernel > Warning: unrecognized mapping in remotes.os2kernel.fetch: +refs/*:refs/* > > git --version > git version 1.5.4.3 > > Jocke
Forgot to mention that clearing the stash with "git stash clear" deletes the refs/stash file and then above commands succeeds.
This is a rather harmless bug, but if you are running the fetch command in a cron job to backup your repo, it becomes more serious as one will not see the failure.
Jocke