git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git fast-export and lightweight tags
@ 2011-06-07 11:02 Philippe De Muyter
  2011-06-07 14:10 ` Sverre Rabbelier
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe De Muyter @ 2011-06-07 11:02 UTC (permalink / raw)
  To: git

Hello list,

I have a git project with plenty of tags created by

	git tag MYTAG

When I clone my git repo, I find my tags again using

	git tag

When I display it using gitweb or the git plugin for trac, I see them also.

But when I use

	git fast-export master

which is invoked by git2svn, my tags are not exported.  I checked that
using the following :

	git fast-export master > /tmp/repo.dump
	mkdir /tmp/repo.fast-imported
	cd /tmp/repo.fast-imported
	git init
	git fast-import < /tmp/repo.dump

How can I convince fast-export to export my tags ?

Philippe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git fast-export and lightweight tags
  2011-06-07 11:02 git fast-export and lightweight tags Philippe De Muyter
@ 2011-06-07 14:10 ` Sverre Rabbelier
  2011-06-07 14:33   ` Philippe De Muyter
  0 siblings, 1 reply; 4+ messages in thread
From: Sverre Rabbelier @ 2011-06-07 14:10 UTC (permalink / raw)
  To: Philippe De Muyter; +Cc: git

Heya,

On Tue, Jun 7, 2011 at 13:02, Philippe De Muyter <phdm@macqel.be> wrote:
> How can I convince fast-export to export my tags ?

Untested, this is just from memory:

$ git fast-export --all --tags

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git fast-export and lightweight tags
  2011-06-07 14:10 ` Sverre Rabbelier
@ 2011-06-07 14:33   ` Philippe De Muyter
  2011-06-07 14:48     ` Sverre Rabbelier
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe De Muyter @ 2011-06-07 14:33 UTC (permalink / raw)
  To: Sverre Rabbelier; +Cc: git

Hi Sverre,

On Tue, Jun 07, 2011 at 04:10:45PM +0200, Sverre Rabbelier wrote:
> Heya,
> 
> On Tue, Jun 7, 2011 at 13:02, Philippe De Muyter <phdm@macqel.be> wrote:
> > How can I convince fast-export to export my tags ?
> 
> Untested, this is just from memory:
> 
> $ git fast-export --all --tags

Yes, that works, but neither

$ git help fast-export

nor

$ git fast-export

does mention it :(

Thanks

Philippe

-- 
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git fast-export and lightweight tags
  2011-06-07 14:33   ` Philippe De Muyter
@ 2011-06-07 14:48     ` Sverre Rabbelier
  0 siblings, 0 replies; 4+ messages in thread
From: Sverre Rabbelier @ 2011-06-07 14:48 UTC (permalink / raw)
  To: Philippe De Muyter; +Cc: git

Heya,

On Tue, Jun 7, 2011 at 16:33, Philippe De Muyter <phdm@macqel.be> wrote:
> Yes, that works, but neither
>
> $ git help fast-export
>
> nor
>
> $ git fast-export
>
> mention it :(

Kind of.

[<git-rev-list-args>…]
A list of arguments, acceptable to git rev-parse and git rev-list,
that specifies the specific objects and references to export. For
example, master~10..master causes the current master reference to be
exported along with all objects added since its 10th ancestor commit.

But, yeah. Not very intuitive I agree.

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-07 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 11:02 git fast-export and lightweight tags Philippe De Muyter
2011-06-07 14:10 ` Sverre Rabbelier
2011-06-07 14:33   ` Philippe De Muyter
2011-06-07 14:48     ` Sverre Rabbelier

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).