{"thread":{"id":"9514","subject":"Fetching a single file from remote repo","startedAt":"2007-08-13T18:31:50Z","lastAt":"2007-08-13T22:38:27Z","messageCount":2,"participants":["Dmitry Kakurin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"50647","messageId":"a1bbc6950708131131q74525060x85d5e31c6a538f76@mail.gmail.com","threadId":"9514","inReplyTo":null,"subject":"Fetching a single file from remote repo","fromName":"Dmitry Kakurin","fromEmail":"dmitry.kakurin@gmail.com","sentAt":"2007-08-13T18:31:50Z","receivedAt":"2007-08-13T18:31:50Z","isPatch":false,"sender":{"key":"dmitry.kakurin@gmail.com","avatar":null},"body":"Is there a way to fetch a single file from remote repo without\ncreating a client repo?\nI want to do something like\n  git show --repo git://repo.or.cz/bla.git master:/somedir/file.txt\n\n-- \n- Dmitry\n"},{"id":"50664","messageId":"a1bbc6950708131538n364f6a82l34b00baa1d751d48@mail.gmail.com","threadId":"9514","inReplyTo":"a1bbc6950708131131q74525060x85d5e31c6a538f76@mail.gmail.com","subject":"Re: Fetching a single file from remote repo","fromName":"Dmitry Kakurin","fromEmail":"dmitry.kakurin@gmail.com","sentAt":"2007-08-13T22:38:27Z","receivedAt":"2007-08-13T22:38:27Z","isPatch":false,"sender":{"key":"dmitry.kakurin@gmail.com","avatar":null},"body":"On 8/13/07, Dmitry Kakurin <dmitry.kakurin@gmail.com> wrote:\n> Is there a way to fetch a single file from remote repo without\n> creating a client repo?\n> I want to do something like\n>  git show --repo git://repo.or.cz/bla.git master:/somedir/file.txt\n\nI think I have found it:\ngit archive --remote=http://62.24.64.27/r/msysgit.git\nmaster:share/GitMe setup-msysgit.sh | tar -x\n\n-- \n- Dmitry\n"}]}