From: Thomas Rast <trast@student.ethz.ch>
To: Nanako Shiraishi <nanako3@lavabit.com>
Cc: "Junio C Hamano" <gitster@pobox.com>,
git@vger.kernel.org, Petr Baudis <pasky@suse.cz>
Subject: Re: [PATCH] usage.c: remove unused functions
Date: Thu, 25 Sep 2008 13:48:37 +0200 [thread overview]
Message-ID: <200809251348.42789.trast@student.ethz.ch> (raw)
In-Reply-To: <20080925184104.6117@nanako3.lavabit.com>
[-- Attachment #1: Type: text/plain, Size: 971 bytes --]
Nanako Shiraishi wrote:
> This removes three functions that are not used anywhere.
[...]
> -void set_usage_routine(void (*routine)(const char *err) NORETURN)
[...]
> -void set_error_routine(void (*routine)(const char *err, va_list params))
[...]
> -void set_warn_routine(void (*routine)(const char *warn, va_list params))
These blame to the following commit:
commit 39a3f5ea7c0352a530338d30d4e618f6b4db84e4
Author: Petr Baudis <pasky@suse.cz>
Date: Sat Jun 24 04:34:38 2006 +0200
Customizable error handlers
This patch makes the usage(), die() and error() handlers customizable.
Nothing in the git code itself uses that but many other libgit users
(like Git.pm) will.
[...]
So apparently the intent was that they would only be used from outside
Git. I don't know whether anyone still plans to do that, but they're
certainly not "just" unused.
- Thomas
--
Thomas Rast
trast@student.ethz.ch
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-09-25 11:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-25 9:41 [PATCH] usage.c: remove unused functions Nanako Shiraishi
2008-09-25 11:48 ` Thomas Rast [this message]
2008-09-25 12:48 ` Petr Baudis
2008-09-25 14:51 ` Shawn O. Pearce
2008-09-25 20:43 ` Jonas Fonseca
2008-09-29 6:35 ` Lars Hjemli
2008-09-25 12:53 ` Jakub Narebski
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200809251348.42789.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=nanako3@lavabit.com \
--cc=pasky@suse.cz \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.