Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: git remote --mirror bug?

From: Joakim Tjernlund <hidden>
Date: 2016-06-15 22:44:23

On Fri, 2008-03-14 at 14:05 +0100, Joakim Tjernlund wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help