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

git base64 repo conversion tool

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Apr 13, 2005, 22:48 UTC
Message-ID
<425DA1D0.5080104@zytor.com>

I realized writing a git repository conversion tool is actually quite trivial in Perl, so I wrote one up and tried it on the git repo included in the git-0.04 tarball. It fsck-cache's cleanly on both the nonflat and flat base64 patches, at least after I had fixed a minor bug in fsck-cache in the nonflat patch (now uploaded.)

It takes an source and a target object directory as arguments. By default it is set up for non-flat representation; change $flat = 0; to $flat = 1; near the top to use flat representation.

ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/gitcvt
Comments appreciated, of course.
	-hpa
Message 1 of 1 in “git base64 repo conversion tool”
  1. H. Peter AnvinApr 13, 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.