* git-remote-helper list command question [not found] <e63531d2-d0d9-7b37-480b-b7f2a40782e4@gmail.com> @ 2018-10-02 9:43 ` Stanisław Drozd 2018-10-02 14:35 ` Jeff King 0 siblings, 1 reply; 3+ messages in thread From: Stanisław Drozd @ 2018-10-02 9:43 UTC (permalink / raw) To: git I'm trying to write a fast-import-based git remote helper, but I'm not sure what the output of the `list` command should look like. How can I find an example of the format in action? Thanks, Stan ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-remote-helper list command question 2018-10-02 9:43 ` git-remote-helper list command question Stanisław Drozd @ 2018-10-02 14:35 ` Jeff King 2018-10-04 4:06 ` Jonathan Nieder 0 siblings, 1 reply; 3+ messages in thread From: Jeff King @ 2018-10-02 14:35 UTC (permalink / raw) To: Stanisław Drozd; +Cc: git On Tue, Oct 02, 2018 at 11:43:50AM +0200, Stanisław Drozd wrote: > I'm trying to write a fast-import-based git remote helper, but I'm not > sure what the output of the `list` command should look like. How can I > find an example of the format in action? There's some documentation in "git help remote-helpers". For working examples (of this or any other remote-helper stuff), your best bet is the git-remote-http helper that ships with Git. E.g., you should be able to do: echo list | git remote-http https://github.com/git/git to see sample output. -Peff ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-remote-helper list command question 2018-10-02 14:35 ` Jeff King @ 2018-10-04 4:06 ` Jonathan Nieder 0 siblings, 0 replies; 3+ messages in thread From: Jonathan Nieder @ 2018-10-04 4:06 UTC (permalink / raw) To: Jeff King; +Cc: Stanisław Drozd, git Hi, Jeff King wrote: > On Tue, Oct 02, 2018 at 11:43:50AM +0200, Stanisław Drozd wrote: >> I'm trying to write a fast-import-based git remote helper, but I'm not >> sure what the output of the `list` command should look like. How can I >> find an example of the format in action? > > There's some documentation in "git help remote-helpers". > > For working examples (of this or any other remote-helper stuff), your > best bet is the git-remote-http helper that ships with Git. E.g., you > should be able to do: > > echo list | git remote-http https://github.com/git/git > > to see sample output. Other examples to look at: git cinnabar <https://github.com/glandium/git-cinnabar> remote-testsvn.c in git.git (though it will be moving to contrib/ and then out of git.git fairly soon) These might be more helpful than git-remote-http because they are fast-import-based helpers. Thanks and hope that helps, Jonathan ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-10-04 4:06 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <e63531d2-d0d9-7b37-480b-b7f2a40782e4@gmail.com> 2018-10-02 9:43 ` git-remote-helper list command question Stanisław Drozd 2018-10-02 14:35 ` Jeff King 2018-10-04 4:06 ` Jonathan Nieder
Code repositories for project(s) associated with this public inbox https://80x24.org/mirrors/git.git 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 read-only IMAP folder(s) and NNTP newsgroup(s).