Hello.
Maybe I'm doing something wrong, but I can't get the "reset" command to work as advertised in git-fast-import(1), without an extra LF at the end.
This input:
-8<- commit refs/heads/master mark :1 committer Joe R. Developer <joe@random.com> 1204726629 +0100 data <<EOF First commit. EOF M 644 inline foo.txt data <<EOF Hello, world! EOF reset refs/tags/tag1 from :1 reset refs/tags/tag2 from :1 -8<-
fails with:
fatal: Unsupported command: from :1
Adding an extra LF before the second reset fixes the issue. I tested this issue seems to present in the "next" branch in addition to 1.5.4.3.
Cheers,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
- I couldn't find anything in there for days. I kept reaching in for
strawberries and coming up with liver -- that's not pleasant.
- I promise not to touch the fridge again.
-- Sookie and Lorelai