git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-http-fetch: remove unused cmd_http_fetch

From
LPLuka Perkov <lists@lukaperkov.net>
Date
Jun 15, 2012, 18:40 UTC
Message-ID
<20120615184059.GA27940@w500.iskon.local>
In-Reply-To
<20120615162136.GC4572@sigill.intra.peff.net>
On Fri, Jun 15, 2012 at 12:21:36PM -0400, Jeff King wrote:
Show 20 quoted lines
> On Thu, Jun 14, 2012 at 10:23:37PM +0200, Luka Perkov wrote:
> 
> > It was left out from commit 1088261f6fc90324014b5306cca4171987da85ce
> 
> This commit message left me scratching my head. Did we get rid of
> http-fetch? If not, then don't we still need cmd_http_fetch? Or did we
> just make it not a builtin, in which case we wouldn't be getting rid of
> cmd_http_fetch, but rather converting it to main?
> 
> Reading the 1088261, I find the answer: we did make it not a builtin,
> and it was indeed converted into "main". But its _declaration_ hung
> around.
> 
> So maybe a better commit message would be:
> 
>   Subject: builtin.h: drop cmd_http_fetch declaration
> 
>   This was converted from a builtin into a stand-alone program by
>   1088261f6fc90324014b5306cca4171987da85ce, but that commit forgot to
>   drop the declaration.
I agree. Sorry for the confusing message.
Show 6 quoted lines
> Other than that, the patch looks obviously correct.
> 
> -Peff
> 
> PS There seem to be some other similar declarations: at least
>    cmd_upload_tar and cmd_pickaxe.
I noticed only cmd_http_fetch when I was hacking a patch for OpenWrt.
Luka
Previous: Jeff King
Message 5 of 5 in “git-http-fetch: remove unused cmd_http_fetch”
  1. git-http-fetch: remove unused cmd_http_fetchLuka Perkov, Jun 14, 2012
  2. Jeff KingJun 15, 2012
  3. Junio C HamanoJun 15, 2012
  4. Jeff KingJun 15, 2012
  5. Luka PerkovJun 15, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.