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

Re: Remove "historical" objects from repository to save place

From
ABAndrey Borzenkov <arvidjaar@mail.ru>
Date
Jan 21, 2006, 21:46 UTC
Message-ID
<200601220046.34151.arvidjaar@mail.ru>
In-Reply-To
<7v1wz1mjy8.fsf@assigned-by-dhcp.cox.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 21 January 2006 22:58, Junio C Hamano wrote:
>
> You might be able to cauterize the history at a specific commit
> and then re-clone.  I've talked about how in "[QUESTION] about
> ..git/info/grafts file" thread yesterday, so I won't repeat that.

thank you, quite complete description. One question - any caveats in using git ls-remote to fetch graft point?

echo $(git ls-remote 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git v2.6.15 
| cut -f1) > .git/info/grafts
etc
this avoids downloading over 1G in the first place.
regards
- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD0qu6R6LMutpd94wRAtuzAJoCT15+8d9BcIEhOxmD9lrRGWE6EQCghg5l SR5g1+nAUNlltYyXydxsFAs= =U2cu -----END PGP SIGNATURE-----

Previous: Andrey Borzenkov
Message 8 of 8 in “Remove "historical" objects from repository to save place”
  1. Andrey BorzenkovJan 21, 2006
  2. Junio C HamanoJan 21, 2006
  3. Petr BaudisJan 21, 2006
  4. Junio C HamanoJan 21, 2006
  5. Randal L. SchwartzJan 21, 2006
  6. Junio C HamanoJan 21, 2006
  7. Andrey BorzenkovJan 21, 2006
  8. Andrey BorzenkovJan 21, 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.