apenwarr-redo/Documentation/git-import.do
Avery Pennarun ca7a1de4e3 Add Documentation/git-{import,export}.do scripts.
These export and import, respectively, the generated man pages to/from the
git branch called 'man'.  You can use it to retrieve the .1 files if you
don't have a working pandoc.
2010-12-19 01:05:52 -08:00

8 lines
156 B
Text

exec >&2
if git show-ref refs/heads/man >/dev/null; then
(cd .. && git archive man) | tar -xvf -
else
(cd .. && git archive origin/man) | tar -xvf -
fi