Re: [Crash] git-push $remote $non_ref:$anything
- From
Jeff King <peff@peff.net>
- Date
- Jun 16, 2008, 16:17 UTC
- 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