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

Re: [PATCH] topgit tg push feature

From
Bert Wesarg <bert.wesarg@googlemail.com>
Date
May 12, 2009, 08:55 UTC
Message-ID
<36ca99e90905120155x1954bdf2n2cd015dd0c28af3c@mail.gmail.com>
In-Reply-To
<20090512075413.GA7764@gmx.de>
On Tue, May 12, 2009 at 09:54, Marc Weber <marco-oweber@gmx.de> wrote:
Show 23 quoted lines
>>That was my intention my asking for the -r option. The -r option is to
>>'tg' not a tg-command. And it's still not addressed.
> Bert: You're wrong:
>
> tg.sh contains:
>
>  base_remote="$(git config topgit.remote 2>/dev/null)" || :
>
>  [...]
>
>  if [ "$1" = "-r" ]; then
>          shift
>          if [ -z "$1" ]; then
>                  echo "Option -r requires an argument." >&2
>                  do_help
>                  exit 1
>          fi
>          base_remote="$1"; shift
>          tg="$tg -r $base_remote"
>  fi
>
> So base_remote is set by config first and then overwritten by the first
> -r flag. my remotes is initialised with that -r flag.
Ahh, thanks for the pointer, I haven't seen this line.
Unfortunately I haven't tested it yet. But I'm looking forward to use it.
Bert
>
> Marc Weber
Previous: Marc WeberNext: Uwe Kleine-König
Message 19 of 22 in “topgit tg push feature”
  1. topgit tg push featureMarc Weber, Apr 25, 2009
  2. Marc WeberApr 25, 2009
  3. Marc WeberMay 5, 2009
  4. Marc WeberMay 7, 2009
  5. Bert WesargMay 7, 2009
  6. Uwe Kleine-KönigMay 7, 2009
  7. Bert WesargMay 7, 2009
  8. martin f krafftMay 9, 2009
  9. Marc WeberMay 9, 2009
  10. Marc WeberMay 11, 2009
  11. martin f krafftMay 11, 2009
  12. martin f krafftMay 11, 2009
  13. Uwe Kleine-KönigMay 11, 2009
  14. Marc WeberMay 11, 2009
  15. martin f krafftMay 11, 2009
  16. Uwe Kleine-KönigMay 12, 2009
  17. Bert WesargMay 12, 2009
  18. Marc WeberMay 12, 2009
  19. Bert WesargMay 12, 2009
  20. Uwe Kleine-KönigMay 12, 2009
  21. tg-remote: don't add push specs but warn about existing ones.Uwe Kleine-König, May 13, 2009
  22. martin f krafftMay 13, 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.