Re: [bug in next ?] git-fetch/git-push issue
On Tue, Nov 06, 2007 at 06:23:45PM +0000, Junio C Hamano wrote:
Show 18 quoted lines
> Jeff King <peff@peff.net> writes:
>
> > On Tue, Nov 06, 2007 at 06:56:27PM +0100, Pierre Habouzit wrote:
> >
> >> On the same vein, with today's next:
> >>
> >> $ git push origin :teaser
> >> To ssh://git.corp/srv/git/mmsx.git
> >> - [deleting] teaser
> >> refs/heads/teaser: 05518bc7df1af680447f58b034b108f66668db03 -> deleted
> >> Everything up-to-date
> >> fatal: Invalid revision range 05518bc7df1af680447f58b034b108f66668db03..0000000000000000000000000000000000000000
> >> fatal: ambiguous argument 'refs/heads/teaser': unknown revision or path not in the working tree.
> >> Use '--' to separate paths from revisions
>
> Isn't this coming from a loosely written post-receive hook that
> wants to send mail or something and forgets that a ref could be
> removed?
oooh you may be right indeed. it's probably it, I was too quick in
assuming this was a new issue with git push, I never removed a branch on
that remote yet, and it indeed has a post-receive hook.
thanks and sorry for the noise.
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org