From: "Karl Hasselström" <kha@treskal.com>
To: Johannes Sixt <j.sixt@eudaptics.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Carlos Rica <jasampler@gmail.com>,
git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] Functions for updating refs.
Date: Tue, 4 Sep 2007 17:29:01 +0200 [thread overview]
Message-ID: <20070904152901.GA31299@diana.vm.bytemark.co.uk> (raw)
In-Reply-To: <46DD7506.3090503@eudaptics.com>
On 2007-09-04 17:08:54 +0200, Johannes Sixt wrote:
> Johannes Schindelin schrieb:
>
> > Well, my idea was to let _error() print the message, and just die().
>
> How do you avoid that die() prints an error, too?
Make a generic function that takes a function pointer argument, then
call it with die or error as appropriate.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle
next prev parent reply other threads:[~2007-09-04 15:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-04 13:39 [PATCH] Functions for updating refs Carlos Rica
2007-09-04 13:45 ` Johannes Schindelin
2007-09-04 14:28 ` Johannes Sixt
2007-09-04 14:58 ` Johannes Schindelin
2007-09-04 15:08 ` Johannes Sixt
2007-09-04 15:29 ` Karl Hasselström [this message]
2007-09-04 15:33 ` Johannes Schindelin
2007-09-04 17:52 ` Junio C Hamano
2007-09-04 23:32 ` Carlos Rica
2007-09-05 0:16 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070904152901.GA31299@diana.vm.bytemark.co.uk \
--to=kha@treskal.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=j.sixt@eudaptics.com \
--cc=jasampler@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).