git fast-export and lightweight tags
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
Heya,
Quoted 1 line · Philippe De Muyter
How can I convince fast-export to export my tags ?
Untested, this is just from memory:
$ git fast-export --all --tags
Signature · 3 lines
Cheers, Sverre Rabbelier
Hi Sverre,
Quoted 8 lines · Sverre Rabbelier
Heya,
Quoted 1 line · Philippe De Muyter
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
Signature · 1 line
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles
Heya,
Quoted 9 lines · Philippe De Muyter
Yes, that works, but neither
$ git help fast-exportnor
$ git fast-exportmention 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.
Signature · 3 lines
Cheers, Sverre Rabbelier