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

Re: Clone a repository with only the objects needed for a single tag

From
Andreas Ericsson <ae@op5.se>
Date
Nov 2, 2005, 08:49 UTC
Message-ID
<43687DAE.2010604@op5.se>
In-Reply-To
<43687869.7060104@ust.hk>
Ben Lau wrote:
Show 5 quoted lines
> Hi Junio,
> 
>  It works!  Thanks a lot.
> 
>  However, it has a problem when involves the gitk/git-log.

Both those programs use the history, which you don't have. With a shallow repository like this some commands just won't work. git-*log and gitk are among those.

> 
> git-log/gitk do not complains afterward, but it also make gitk shows 
> nothing during run. Any solution?
> 
* Get a second machine with more disk-space and run the history tools 
there. If you use it as mothership and push your commits to it you'll be 
able to track your changes from the laptop as well.
* Get a larger disk. They're not terribly expensive now adays.
* Check out one tag (i.e. release) more than you need. Then you'll get 
history back to that tag.
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Ben LauNext: Ben Lau
Message 4 of 6 in “Clone a repository with only the objects needed for a single tag”
  1. Ben LauNov 2, 2005
  2. Junio C HamanoNov 2, 2005
  3. Ben LauNov 2, 2005
  4. Andreas EricssonNov 2, 2005
  5. Ben LauNov 2, 2005
  6. Junio C HamanoNov 2, 2005

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.