From: Jeff King Date: Mon, 16 Jun 2008 16:17:55 GMT Subject: Re: [Crash] git-push $remote $non_ref:$anything Message-ID: <20080616161754.GB7219@sigill.intra.peff.net> In-Reply-To: <20080616161502.GA7219@sigill.intra.peff.net> On Mon, Jun 16, 2008 at 12:15:02PM -0400, Jeff King wrote: > if (!matched_src) > - errs = 1; > + return -1; This could maybe be cleaned up even more by just returning -1 at each point where matched_src becomes NULL (in the switch statement above). -Peff