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

Re: How to merge git://repo.or.cz/git-gui into git.git

From
Yin Ping <pkufranky@gmail.com>
Date
Oct 29, 2007, 06:45 UTC
Message-ID
<46dff0320710282345r2922ac7dj9c7a4eb3e20fd011@mail.gmail.com>
In-Reply-To
<20071028111443.GA29183@xp.machine.xx>
On 10/28/07, Peter Baumann <waste.manager@gmx.de> wrote:
Show 10 quoted lines
>
> Have a look at the subtree merge strategy [1] and at the following
> explanations how git-gui got initally merged.
>
> -Peter
>
> [1]: http://www.gelato.unsw.edu.au/archives/git/0702/40139.html
> [2]: http://www.gelato.unsw.edu.au/archives/git/0702/39661.html
>
>

When i merged git.git into git-gui with subtree strategy, I found all histories of git.git merged into histories of git-gui (from 584 history entries to 11985). Is it possible that only histories related to git-gui subdirectory in git.git(i.e. histories displayed by git-log git-gui) are merged into?

1. my configuration:
~/git-gui$ git-remote show git
* remote git
  URL: git://git.kernel.org/pub/scm/git/git.git
  Tracked remote branches
    master
~/git-gui$ git-remote show origin
* remote origin
  URL: git://repo.or.cz/git-gui
    Remote branch(es) merged with 'git pull' while on branch master
      master
    Tracked remote branches
      master
~/git-gui$ gtlg --pretty=oneline --topo-order --first-parent | wc -l
584
2. pull with subtree strategy
~/git-gui$  git-pull -s subtree git master:master
3. after pull, all logs of git comes into git-gui (584->11985)
~/git-gui$ gtlg --pretty=oneline --topo-order | wc -l
11985
4. histories of git can be hiden by --first-parent
gtlg --pretty=oneline --topo-order --first-parent | wc -l
585
-- 
franky
Previous: Miklos VajnaNext: Shawn O. Pearce
Message 6 of 10 in “How to merge git://repo.or.cz/git-gui into git.git”
  1. Yin PingOct 28, 2007
  2. Yin PingOct 28, 2007
  3. Peter BaumannOct 28, 2007
  4. Yin PingOct 28, 2007
  5. Miklos VajnaOct 28, 2007
  6. Yin PingOct 29, 2007
  7. Shawn O. PearceOct 30, 2007
  8. Yin PingOct 30, 2007
  9. Junio C HamanoOct 30, 2007
  10. Yin PingOct 30, 2007

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.