Re: [RFC/PATCH] Documentation: Don't assume git-sh-setup and git-parse-remote are in the PATH
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 29, 2008, 19:08 UTC
- Message-ID
- <7vbq1kawje.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <Pine.GSO.4.62.0806291026310.8371@harper.uchicago.edu>
jrnieder@uchicago.edu writes:
Show 11 quoted lines
> How about this documentation patch? (This time tested! With hg-fast-export
> appropriately modified:
> $ hg clone http://hg.sharesource.org/asciidoc
> $ mkdir asciidoc-git && cd asciidoc-git
> $ git init && hg-fast-export.sh -r /path/to/asciidoc --quiet
> $ git checkout
> $ sudo ./install.sh
> $ cd /path/to/git/Documentation && make git-{sh-setup,parse-remote}.html
> I haven't tried rebuilding manpages, though.)
>
> Junio: I stole the commit message from you. I hope you don't mind.I don't, but reading the script again, I suspect it is not clear enough that the user is also responsible for setting up GIT_DIR appropriately before using it, perhaps by sourcing git-sh-setup. We probably would want to add it in a separate patch.