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

[PATCH 0/5] Allow push and fetch urls to be different

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jun 9, 2009, 16:01 UTC
Message-ID
<1244563298-15479-1-git-send-email-git@drmicha.warpmail.net>

This series implements a new config setting remote.${remotename}.pushurl which allows the urls for fetch and push to be different.

In http://permalink.gmane.org/gmane.comp.version-control.git/120726 the feature was suggested, and an initital WIP/RFC was discussed. The patch 1/5 contains exactly that version amended with documentation.

If there is no pushurl then all values of remote.${remotename}.url are used for pushes just like before. Otherwise, all values of remote.${remotename}.pushurl are used for pushes. In any case, the first value of remote.${remotename}.url is used for fetches.

1/5 implements the config setting, makes push obey it and documents it. 2/5 adds tests for the new setting. 3/5 updates the api doc. 4/5 makes "remote show ${remotename}" show the new push URLs, and makes clear which ones are used for fetch and which ones for push. 5/5 brings the output of "remote -v" more in line with the output of the above (it was out of sync even before 4/5).

1 through 3 apply on yesterday's next.

4 through 5 require tomorrow's next ;) More specifically, 4 requires 'builtin-remote: Make "remote show" display all urls' which I suggested for applying to maint in http://permalink.gmane.org/gmane.comp.version-control.git/120924 because I think the current output is incomplete. If that patch is not considered for separate inclusion in maint or master I would suggest squashing it together with 4/5 of the above.

Michael J Gruber (5):
  Allow push and fetch urls to be different
  t5516: Check pushurl config setting
  technical/api-remote: Describe new struct remote member pushurl
  builtin-remote: Show push urls as well
  builtin-remote: Make "remote -v" display push urls
Next: Michael J Gruber
Message 1 of 15 in “Allow push and fetch urls to be different”
  1. 0/5 Allow push and fetch urls to be differentMichael J Gruber, Jun 9, 2009
  2. 1/5 Allow push and fetch urls to be differentMichael J Gruber, Jun 9, 2009
  3. 2/5 t5516: Check pushurl config settingMichael J Gruber, Jun 9, 2009
  4. 3/5 technical/api-remote: Describe new struct remote member pushurlMichael J Gruber, Jun 9, 2009
  5. 4/5 builtin-remote: Show push urls as wellMichael J Gruber, Jun 9, 2009
  6. 5/5 builtin-remote: Make "remote -v" display push urlsMichael J Gruber, Jun 9, 2009
  7. Junio C HamanoJun 9, 2009
  8. Michael J GruberJun 9, 2009
  9. Junio C HamanoJun 9, 2009
  10. 0/5 builtin-remote: Make "remote -v" display push urlsMichael J Gruber, Jun 13, 2009
  11. 4/5 builtin-remote: Show push urls as wellMichael J Gruber, Jun 13, 2009
  12. 5/5 builtin-remote: Make "remote -v" display push urlsMichael J Gruber, Jun 13, 2009
  13. Junio C HamanoJun 14, 2009
  14. Bert WesargJun 9, 2009
  15. Michael J GruberJun 9, 2009

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.