Re: [PATCH] Functions for updating refs.
- From
Johannes Sixt <j.sixt@eudaptics.com>
- Date
- Sep 4, 2007, 14:28 UTC
- Message-ID
- <46DD6B93.10005@eudaptics.com>
- In-Reply-To
- <Pine.LNX.4.64.0709041444070.28586@racer.site>
Johannes Schindelin schrieb:
Show 6 quoted lines
> On Tue, 4 Sep 2007, Carlos Rica wrote: >> +int update_ref_or_die(const char *action, const char *refname, >> + const unsigned char *sha1, >> + const unsigned char *oldval, int flags) > > Should this not be "void"? And should it not use update_ref_or_error()?
It should not use *_error() directly because then it would print two error messages in a row.
-- Hannes