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

Re: git pull a subtree, embedded trees

From
Shawn Pearce <spearce@spearce.org>
Date
Sep 18, 2006, 06:47 UTC
Message-ID
<20060918064732.GB20660@spearce.org>
In-Reply-To
<20060918064255.GA20660@spearce.org>
Shawn Pearce <spearce@spearce.org> wrote:
Show 11 quoted lines
> Timothy Shimmin <tes@sgi.com> wrote:
> > So I added this to a script which walks over the objects directory,
> > to work out what all the object ids are so I can apply git-cat-file
> > to all the objects on my test directory.
> > I guess this will fall down if the objects are stored in a pack :)
> > I'll have to look and see how to extract all the object ids using
> > some command.
> 
> Try this:
> 
> 	git-rev-list --all 
Sorry, that should have been:
      
	git-rev-list --objects --all
	      
damn brain.  I guess its tired and wants some sleep.  :-)
-- 
Shawn.
Previous: Shawn PearceNext: Shawn Pearce
Message 6 of 8 in “git pull a subtree, embedded trees”
  1. Tim ShimminSep 13, 2006
  2. Jakub NarebskiSep 13, 2006
  3. Timothy ShimminSep 18, 2006
  4. Jakub NarebskiSep 18, 2006
  5. Shawn PearceSep 18, 2006
  6. Shawn PearceSep 18, 2006
  7. Shawn PearceSep 13, 2006
  8. Timothy ShimminSep 18, 2006

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.