From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: Luka Perkov <lists@lukaperkov.net>, git@vger.kernel.org
Subject: Re: [PATCH] git-http-fetch: remove unused cmd_http_fetch
Date: Fri, 15 Jun 2012 14:16:36 -0400 [thread overview]
Message-ID: <20120615181636.GA14843@sigill.intra.peff.net> (raw)
In-Reply-To: <7vaa04bg5q.fsf@alter.siamese.dyndns.org>
On Fri, Jun 15, 2012 at 11:09:53AM -0700, Junio C Hamano wrote:
> Jeff King <peff@peff.net> writes:
>
> > PS There seem to be some other similar declarations: at least
> > cmd_upload_tar and cmd_pickaxe.
>
> Thanks.
>
> $ sed -ne 's/^extern int \(cmd_[^(]*\)(.*/\1/p' builtin.h | sort >/var/tmp/1
> $ nm -g git| sed -ne 's/^[0-9a-f]* T cmd_/cmd_/p' | sort > /var/tmp/2
> $ comm -3 /var/tmp/[12]
>
> finds only the two you mentioned, so how about doing it this way?
I used a slightly grosser grep that looked in "*.c", and come up with
only those 2. Patch looks good to me.
-Peff
next prev parent reply other threads:[~2012-06-15 18:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-14 20:23 [PATCH] git-http-fetch: remove unused cmd_http_fetch Luka Perkov
2012-06-15 16:21 ` Jeff King
2012-06-15 18:09 ` Junio C Hamano
2012-06-15 18:16 ` Jeff King [this message]
2012-06-15 18:40 ` Luka Perkov
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=20120615181636.GA14843@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=lists@lukaperkov.net \
/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 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 NNTP newsgroup(s).