Re: [PATCH 0/3] "git name-rev --weight"

2012-08-30 Thread Junio C Hamano
"Philip Oakley" writes: > Is "--weight" the right term to use for the user (cli) interface? > Wouldn't '--oldest' (or similar) be a better statement of what is > desired (absent clock skew). > > While 'weight' may be a good internal technical description it didn't > convey to me what was being so

Re: [PATCH 0/3] "git name-rev --weight"

2012-08-30 Thread Philip Oakley
From: "Junio C Hamano" Sent: Wednesday, August 29, 2012 10:17 PM So here is an attempt to teach "name-rev" a mode that tries to base its name on oldest tag that can reach the commit. It needs the reset_revision_walk() call recently added to the revision traversal API, and applies to bcc0a3e (v1

[PATCH 0/3] "git name-rev --weight"

2012-08-29 Thread Junio C Hamano
So here is an attempt to teach "name-rev" a mode that tries to base its name on oldest tag that can reach the commit. It needs the reset_revision_walk() call recently added to the revision traversal API, and applies to bcc0a3e (v1.7.11-rc0~111^2~2) or newer. Note that this can benefit from cachin