[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Second try at git conversion
From: |
Bernd Warken |
Subject: |
Re: [Groff] Second try at git conversion |
Date: |
Tue, 10 Dec 2013 20:14:52 +0100 (CET) |
> Von: "Eric S. Raymond" <address@hidden>
The commands for getting the new groff-git have some errors.
> 1. git init groff-git
> 2. cd groff-git
One should not go into that directory for downloading. The downloaded
file is better outside the coming archive.
> 3. wget http://www.catb.org/esr/groff-git.fi.gz/
This line 3. is wrong. groff-git.fi.gz is only a file, not a directory.
So the final slash has to be omitted.
After the download, one has to go into groff-git: so `cd groff-init'
makes sense here
> 4. gzip <groff-git.fi.gz | git fast-import
`gzip' alone is wrong, it must be `gunzip' or `gzip -d'. As the gz-file
is now in the upper directory, `../' must be added, so
`<../groff-git.fi.gz' must be used.
> 5. git checkout to materialize the files.
> 6. rm groff-git.fi.gz
This must be `rm ../groff-git.fi.gz' - if at all.
###
So the more correct command set is
$ cd SOME_DIR # go to a suitable directory with write access
$ git init groff-git
$ wget http://www.catb.org/esr/groff-git.fi.gz
$ cd groff-git
$ gunzip <../groff-git.fi.gz | git fast-import
$ git checkout
$ rm ../groff-git.fi.gz # maybe, only if you want
What about the easier `git clone ...'?
Bernd Warken
Re: [Groff] Second try at git conversion,
Bernd Warken <=
- Re: [Groff] Second try at git conversion, Eric S. Raymond, 2013/12/10
- Re: [Groff] Second try at git conversion, Heinz-Jürgen Oertel, 2013/12/22
- Re: [Groff] Second try at git conversion, Daode, 2013/12/22
- Re: [Groff] Second try at git conversion, Heinz-Jürgen Oertel, 2013/12/23
- Re: [Groff] Second try at git conversion, Daode, 2013/12/23
- Re: [Groff] Second try at git conversion, Werner LEMBERG, 2013/12/24
- Re: [Groff] Second try at git conversion, Heinz-Jürgen Oertel, 2013/12/24
- Re: [Groff] Second try at git conversion, Daode, 2013/12/24