Re: [PATCH v4 1/2] Documentation: fix linkgit references
- From
Jeff King <peff@peff.net>
- Date
- May 4, 2016, 21:31 UTC
- Message-ID
- <20160504213149.GA22828@sigill.intra.peff.net>
- In-Reply-To
- <xmqq8tzpfrt0.fsf@gitster.mtv.corp.google.com>
On Wed, May 04, 2016 at 02:15:39PM -0700, Junio C Hamano wrote:
Show 6 quoted lines
> > make sense? Or a simpler but non-streaming spelling:
> >
> > my @files = map { chomp; $_ } `git ls-files`;
>
> I forgot to say that I wanted not to rely on "git" (i.e. OK to use
> this on tarball extract).Oh, that's a good idea.
Show 5 quoted lines
> > Or just taking the list of files on the command line as your original > > did, and feeding `ls-files` from the caller. That also lets you do > > "link-gitlink git-foo.txt", etc. > > Yes, I think that is the most sensible.
Yeah, and then the Makefile can drive it from $(MAN_TXT), etc, without requiring git (which I think is what you were getting at, but just spelling it out for myself and the list).
-Peff