On Wed, 28 Sep 2016, Alex Pilon wrote: > On Wed, Sep 28, 2016 at 04:48:15AM -0400, Robert P. J. Day wrote: > > perfect example: "how do i find the Nth last version of a file?" > > now, you can certainly do this in git, using "git log", then extract > > the commit ID from the appropriate line and so on. but (AFAIK), there > > is no single command to get that info. > > Hehe. > > git rev-list --max-count=1 --skip=2 HEAD -- theFile > > I'm sorry. Couldn't resist. rev-list and rev-parse are your friends > for these kind of more programmatic searches. oh, i know many solutions for that exist, but remember, that's more git "plumbing" than "porcelain". you know what i mean. :-) rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================