From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] git diff
Date: Thu, 20 May 2010 03:33:37 +0400
Message-ID: <20100519233337.GA24176@wo.int.altlinux.org> (raw)
In-Reply-To: <20100418192550.GA29958@atlas.home>
[-- Attachment #1: Type: text/plain, Size: 1378 bytes --]
On Sun, Apr 18, 2010 at 11:25:50PM +0400, Sergey Vlasov wrote:
> On Sun, Apr 18, 2010 at 06:58:27PM +0400, Alexey Tourbin wrote:
> > On Sun, Apr 18, 2010 at 08:42:21PM +0600, Andrey Rahmatullin wrote:
> > > On Sun, Apr 18, 2010 at 06:38:20PM +0400, Alexey Tourbin wrote:
> > > > > Скорее после gear-rpm --commit
> > > > Кстати мне не нравится как --commit реализован.
> > > Лично мне не нравится хотя бы то, что в моих репозиториях ненулевое
> > > количество коммитов "Temporary commit by gear", причём обнаруженных уже
> > > после того, как из их потомков собирали в сизиф.
> >
> > Да, окончательный коммит в хед-бранч можно не делать, в этом вся соль.
> > То есть вот "Temporary commit by gear" зачем его куда-то приписывать?
> > Что если просто сделать sha1-коммит? И начать его собирать, например
> > в случае gear-buildreq?
>
> Тогда придётся выполнять действия git commit на более низком уровне -
> git update-index, git write-tree, git commit-tree. Создавать ссылку
> на этот commit действительно необязательно.
>
> В таком варианте можно даже переместить установку GIT_OBJECT_DIRECTORY
> перед созданием коммита, ну и добавить копирование индекса и установку
> GIT_INDEX_FILE, чтобы совсем не трогать состояние рабочего каталога.
Посмотрите
http://git.altlinux.org/people/ldv/packages/?p=gear.git;a=commitdiff;h=gear--commit
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-05-19 23:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-14 12:10 ` Sergey Y. Afonin
2010-04-14 12:21 ` Alexey I. Froloff
2010-04-14 12:29 ` Sergey Y. Afonin
2010-04-14 12:32 ` Alexey I. Froloff
2010-04-14 12:39 ` Sergey Y. Afonin
2010-04-14 16:53 ` Денис Смирнов
2010-04-14 23:18 ` Vitaly Lipatov
2010-04-15 3:27 ` Slava Semushin
2010-04-15 8:45 ` Денис Смирнов
2010-04-15 22:57 ` Vitaly Lipatov
2010-04-18 5:51 ` Evgeny Sinelnikov
2010-04-18 14:38 ` Alexey Tourbin
2010-04-18 14:42 ` Andrey Rahmatullin
2010-04-18 14:58 ` Alexey Tourbin
2010-04-18 19:25 ` Sergey Vlasov
2010-04-23 1:25 ` Alexey Tourbin
2010-05-19 23:33 ` Dmitry V. Levin [this message]
2010-04-14 16:52 ` Денис Смирнов
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=20100519233337.GA24176@wo.int.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