Re: 'git show' with multiple revisions

2015-04-28 Thread Jeff King
On Tue, Apr 28, 2015 at 10:10:52AM +, Ed Avis wrote: > Could 'git show' sprout an option to get multiple things programmatically > so that they can be separated out again? One way would be to quote or escape > the contents somehow so that the result can be parsed: > > % git show --porcel

'git show' with multiple revisions

2015-04-28 Thread Ed Avis
I would like to see the content of a file in multiple revisions. I can get them with 'git show' as follows: % git show REV1:FILE % git show REV2:FILE and so on. But that launches a new process for each revision. Now, there is the option to pass multiple arguments to 'git show': % g