[devel] I: ssh git.alt git-clone /archive
Денис Смирнов
mithraen на altlinux.ru
Вс Ноя 11 14:27:01 MSK 2007
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, и у нас останется файлик, который с точки зрения дисковой квоты
принадлежит одному, а на самом деле уже другому?
--
С уважением, Денис
http://freesource.info
----------------------------------------------------------------------------
ПАРАДОКС СИЛЬВЕРМАНА
Если закон Мерфи может не сработать, он срабатывает.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.altlinux.org/pipermail/devel/attachments/20071111/d88ea511/attachment.bin
Подробная информация о списке рассылки Devel