From: Timur Tabi <timur@freescale.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Shawn Pearce <spearce@spearce.org>,
Thomas Kolejka <Thomas.Kolejka@gmx.at>,
git@vger.kernel.org
Subject: Re: Is there a way to trim old SHAs from a git tree (so it's not so large)?
Date: Tue, 21 Nov 2006 16:47:46 -0600 [thread overview]
Message-ID: <45638212.8030501@freescale.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0611212306060.26827@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
> Hi,
>
> On Tue, 21 Nov 2006, Timur Tabi wrote:
>
>> Shawn Pearce wrote:
>>
>>> finally you can either run from that directory (see INSTALL file)
>>> or you can install the binary somewhere else. We don't really
>>> recommend using `pu` for production level work, so make sure you
>>> have a backup of any repository you run it on. :)
>> So how do I make a shallow clone? I've set it all up, but there is no
>> git-shallow-clone command, and git help clone doesn't have anything either.
>
> Try "git clone --depth 1 <url>". This will cut each ancestor chain after
> one ancestor (IIRC).
I think you mean git-clone.sh instead of git-clone. If I do the above command,
I get:
$ ./git clone --depth 1 git://127.0.0.1/temp/u-boot-83xx/
Usage: /home/b04825/bin/git-clone [--template=<template_directory>]
[--use-separate-remote] [--reference <reference-repo>] [--bare] [-l [-s]] [-q]
[-u <upload-pack>] [--origin <name>] [-n] <repo> [<dir>]
However, git-clone.sh is not quite working either. I had to run git-daemon on
my machine, because git-clone.sh doesn't like the http protocol, and my firewall
blocks everything but that. So I cloned a repo, started git-daemon, and I tried
this:
$ ./git-clone.sh --depth 1 git://127.0.0.1/temp/u-boot-83xx
usage: git-fetch-pack [--all] [-q] [-v] [-k] [--thin] [--exec=upload-pack]
[host:]directory <refs>...
fetch-pack from 'git://127.0.0.1/temp/u-boot-83xx/' failed.
A regular git-clone of git://127.0.0.1/temp/u-boot-83xx works, so I think
there's something wrong with git-clone.sh or my invocation thereof.
--
Timur Tabi
next prev parent reply other threads:[~2006-11-21 22:47 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-15 22:11 Is there a way to trim old SHAs from a git tree (so it's not so large)? Timur Tabi
2006-11-15 22:16 ` Shawn Pearce
2006-11-15 22:26 ` Timur Tabi
2006-11-15 22:33 ` Shawn Pearce
2006-11-17 10:36 ` Thomas Kolejka
2006-11-21 16:29 ` Timur Tabi
2006-11-21 16:32 ` Shawn Pearce
2006-11-21 16:52 ` Timur Tabi
2006-11-21 16:56 ` Shawn Pearce
2006-11-21 17:01 ` Timur Tabi
2006-11-21 18:39 ` Shawn Pearce
2006-11-21 21:49 ` Timur Tabi
2006-11-21 22:06 ` Johannes Schindelin
2006-11-21 22:47 ` Timur Tabi [this message]
2006-11-21 22:53 ` Jakub Narebski
2006-11-21 22:53 ` Johannes Schindelin
2006-11-21 23:12 ` Timur Tabi
2006-11-21 23:22 ` Jakub Narebski
2006-11-21 16:57 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45638212.8030501@freescale.com \
--to=timur@freescale.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=Thomas.Kolejka@gmx.at \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).