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

[PATCH] User Manual: document import-tars.perl

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Sep 25, 2007, 22:37 UTC
Message-ID
<1190759824-18896-1-git-send-email-vmiklos@frugalware.org>
In-Reply-To
<20070925201306.GW30845@fieldses.org>
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
On Tue, Sep 25, 2007 at 04:13:06PM -0400, "J. Bruce Fields" <bfields@fieldses.org> wrote:
Show 5 quoted lines
> One exception--the "series of tarballs" thing--I think it's cool that
> you can just unpack a bunch of tarballs and string them together into a
> git history.  It gives a good sense of how git works, and I don't think
> it's documented explicitly anywhere.  I think that might be kinda fun to
> write up.  But I haven't tried.
something like this?
VMiklos
 Documentation/user-manual.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index a085ca1..f722932 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -978,6 +978,19 @@ $ git add . # include everything below ./ in the first commit:
 $ git commit
 -------------------------------------------------
 
+If you already have a series of tarballs (typically previous releases without
+using a version control system):
+
+-------------------------------------------------
+$ mkdir project
+$ cd project
+$ git init
+$ perl import-tars.perl /path/to/tarballs/*.tar.bz2
+$ git checkout import-tars
+-------------------------------------------------
+
+You can find `import-tars.perl` in the `contrib/fast-import/` directory.
+
 [[how-to-make-a-commit]]
 How to make a commit
 --------------------
-- 
1.5.3.2.80.g077d6f-dirty
Previous: J. Bruce FieldsNext: J. Bruce Fields
Message 9 of 13 in “Remove 'submodules' from the TODO section of the User Manual.”
  1. Remove 'submodules' from the TODO section of the User Manual.Miklos Vajna, Sep 25, 2007
  2. J. Bruce FieldsSep 25, 2007
  3. Miklos VajnaSep 25, 2007
  4. J. Bruce FieldsSep 25, 2007
  5. Miklos VajnaSep 25, 2007
  6. J. Bruce FieldsSep 25, 2007
  7. J. Bruce FieldsSep 25, 2007
  8. J. Bruce FieldsSep 25, 2007
  9. User Manual: document import-tars.perlMiklos Vajna, Sep 25, 2007
  10. J. Bruce FieldsSep 26, 2007
  11. Miklos VajnaSep 26, 2007
  12. J. Bruce FieldsSep 26, 2007
  13. Johannes SchindelinSep 26, 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.