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

Re: [TopGit PATCH] Use the topological order when exporting explicitly listed branches.

From
Petr Baudis <pasky@suse.cz>
Date
Nov 20, 2008, 10:20 UTC
Message-ID
<20081120102005.GB10491@machine.or.cz>
In-Reply-To
<1227173902-21180-1-git-send-email-madduck@debian.org>
On Thu, Nov 20, 2008 at 10:38:22AM +0100, martin f. krafft wrote:
Show 10 quoted lines
> From: Niko Tyni <ntyni@debian.org>
> 
> When exporting explicitly listed branches (tg export -b), the branch
> dependencies were not taken into account.
> 
> Signed-off-by: martin f. krafft <madduck@debian.org>
> Tested-by: martin f. krafft <madduck@debian.org>
> ---
> Arguably, lines 178:189 need to be refactored due to the code duplication, but
> the patch does what it should for now.

The point of -b is to export only the specified branches, assuming you already exported the dependencies before. If you just want to export a branch with all its dependencies, why not just switch to it and call plain tg export?

-- 
				Petr "Pasky" Baudis
People who take cold baths never have rheumatism, but they have
cold baths.
Previous: martin f. krafftNext: martin f krafft
Message 2 of 3 in “Use the topological order when exporting explicitly listed branches.”
  1. Use the topological order when exporting explicitly listed branches.martin f. krafft, Nov 20, 2008
  2. Petr BaudisNov 20, 2008
  3. martin f krafftNov 20, 2008

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.