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

Issuing cat-blob or ls to fast-import from a remote helper

From
MSMarco Schulze <marco.c.schulze@gmail.com>
Date
Aug 7, 2012, 22:41 UTC
Message-ID
<502199AC.2070909@gmail.com>

I've been toying with a git-remote-svn which uses fast-import (by advertising the 'import' capability) to get data into Git. Unfortunately, I can't get the result of any commands issued to fast-import, as its stdout is not redirected, and the remote helper API offers no alternative.

I tried modifiying transport-helper.c to force redirection (fast-import's stdout -> remote helper's stdin), but that breaks test t5800 (and possibly others). Is this a bug, or intended behaviour? Am I missing something?

Message 1 of 1 in “Issuing cat-blob or ls to fast-import from a remote helper”
  1. Marco SchulzeAug 7, 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.