From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: ssh git.alt git-clone /archive
Date: Sun, 11 Nov 2007 14:54:25 +0300
Message-ID: <20071111115425.GB5685@basalt.office.altlinux.org> (raw)
In-Reply-To: <20071111112701.GA13066@mw.local.seiros.ru>
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
On Sun, Nov 11, 2007 at 02:27:01PM +0300, Денис Смирнов wrote:
> On Sun, Nov 11, 2007 at 12:03:09AM +0300, Dmitry V. Levin wrote:
>
> DVL> Согласно git-clone(1),
> DVL> "--local, -l
> DVL> When the repository to clone from is on a local machine, this flag
> DVL> bypasses normal "git aware" transport mechanism and clones the
> DVL> repository by making a copy of HEAD and everything under objects
> DVL> and refs directories. The files under .git/objects/ directory are
> DVL> hardlinked to save space when possible. This is now the default when
> DVL> the source repository is specified with /path/to/repo syntax"
> DVL> Т.е. это просто поведение git clone по умолчанию.
> DVL> А вот --reference использовать нельзя, поскольку содержимое репозитория
> DVL> источника может в любой момент измениться или вообще исчезнуть (особенно
> DVL> когда клонируется репозиторий из /people).
>
> Я правильно понимаю что первый же git repack на стороне откуда делаем
> git-clone, и у нас останется файлик, который с точки зрения дисковой квоты
> принадлежит одному, а на самом деле уже другому?
Правильно.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2007-11-11 11:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-10 14:34 Dmitry V. Levin
2007-11-10 20:57 ` Kirill A. Shutemov
2007-11-10 21:03 ` Dmitry V. Levin
2007-11-11 11:27 ` Денис Смирнов
2007-11-11 11:54 ` Dmitry V. Levin [this message]
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=20071111115425.GB5685@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git