ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] git и пустые каталоги
Date: Tue, 4 Nov 2008 23:44:45 +0300
Message-ID: <20081104204445.GC7988@wo.int.altlinux.org> (raw)
In-Reply-To: <200811042216.02095.ledest@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]

On Tue, Nov 04, 2008 at 10:16:02PM +0200, Led wrote:
> On Tuesday, 04 November 2008 20:49:58 Led wrote:
> > On Tuesday 04 November 2008 20:47:57 Aleksey Avdeev wrote:
> > > Led пишет:
> > > > On Tuesday, 21 October 2008 01:54:48 Dmitry V. Levin wrote:
> > > >> On Fri, Oct 17, 2008 at 08:44:39PM +0300, Led wrote:
> > > >>> On Friday, 17 October 2008 18:51:11 Dmitry V. Levin wrote:
> > > >>>>> А exclude этих .gitignore при генерации тарбола для src.rpm из
> > > >>>>> git'a можно сделать автоматически?
> > > >>>>
> > > >>>> Вопрос интересный.  Если речь идёт о gear, то извлечение тарболла из
> > > >>>> git производится с помощью "git archive --format=tar", который
> > > >>>> .gitignore исключать не умеет.
> > > >>>> Но это не значит, что желаемого эффекта нельзя добиться...
> > > >>>
> > > >>> gitattributes(5):
> > > >>> .....
> > > >>> export-ignore
> > > >>>               Files and directories with the attribute export-ignore
> > > >>> won't be added to archive files.
> > > >>> .....
> > > >>>
> > > >>> Это не оно? Правда, это только в 1.6 появилось.
> > > >>
> > > >> А вы попробуйте.
> > > >
> > > > Попробовал. Да, это "оно":)
> > >
> > >    А как им правильно пользоваться? ;-)
> >
> > gitattributes(1)
> 
> например:
> $ cat .git/info/attributes
> *.orig export-ignore

Неприятность заключается в том, что .git/info не является той частью
репозитория, которую можно опубликовать.  В результате результат работы
gear на одном и том же коммите в разных местах будет отличаться, что в
корне противоречит идее gear.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-11-04 20:44 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 14:41 Led
2008-10-17 14:44 ` Andrey Rahmatullin
2008-10-17 15:05   ` Led
2008-10-17 15:10     ` [devel] [JT] " Andrey Rahmatullin
2008-10-17 15:12 ` [devel] " Dmitry V. Levin
2008-10-17 15:29   ` Led
2008-10-17 15:51     ` Dmitry V. Levin
2008-10-17 16:05       ` Led
2008-10-17 16:09         ` Dmitry V. Levin
2008-10-17 16:16           ` Mikhail Gusarov
2008-10-17 16:23             ` Dmitry V. Levin
2008-10-17 16:26               ` Mikhail Gusarov
2008-10-17 16:40           ` Led
2008-10-17 16:16         ` Damir Shayhutdinov
2008-10-17 16:44           ` Led
2008-10-19 22:28             ` Led
2008-10-17 17:44       ` Led
2008-10-17 18:46         ` [devel] Q: git 1.6.0 Kirill A. Shutemov
2008-10-17 19:04           ` Dmitry V. Levin
2008-10-20 22:54         ` [devel] git и пустые каталоги Dmitry V. Levin
2008-11-03  3:08           ` Led
2008-11-04 18:47             ` Aleksey Avdeev
2008-11-04 18:49               ` Led
2008-11-04 20:16                 ` Led
2008-11-04 20:44                   ` Dmitry V. Levin [this message]
2008-11-04 21:03                     ` Led
2008-11-04 21:42                       ` Dmitry V. Levin
2009-01-27 23:25                         ` Dmitry V. Levin
2009-01-27 23:37                           ` Led
2009-02-01  8:13                           ` Ildar Mulyukov
2009-02-01 13:27                             ` [devel] git-rev-parse syntax in .gear/rules Dmitry V. Levin

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=20081104204445.GC7988@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