From: Jeff King Date: Wed, 04 May 2016 21:31:50 GMT Subject: Re: [PATCH v4 1/2] Documentation: fix linkgit references Message-ID: <20160504213149.GA22828@sigill.intra.peff.net> In-Reply-To: On Wed, May 04, 2016 at 02:15:39PM -0700, Junio C Hamano wrote: > > 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. > > 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