From: Junio C Hamano Date: Tue, 06 Nov 2007 18:23:45 GMT Subject: Re: [bug in next ?] git-fetch/git-push issue Message-ID: <7vwssvgrm6.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071106180910.GA25934@sigill.intra.peff.net> Jeff King 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?