Hi, On Wed, 22 Oct 2008, Jeff King wrote: > On Wed, Oct 22, 2008 at 03:50:52AM -0700, Jakub Narebski wrote: > > > About printing either forward (git-describe, e.g. > > v1.6.0.2-590-g67f6062) or backward (git-name-rev, e.g. > > tags/v1.6.0-rc2~8): you can use git-name-rev in filter mode (git log > > ... | git name-rev --stdin), or "git log --decorate", or '%d' in > > --pretty format specifier (this is very new thing). > > The "--decorate" and "%d" code just decorates branch _tips_. My > impression is that he wanted to see the branch mentioned even if the > commit was not at the tip. It would be possible to extend this to print > name-rev output, but it would be computationally and memory-intensive, I > suspect. FWIW I tried to do this "on-the-fly", but that did not bode well with things like git log --decorate=any --no-walk master $(git rev-parse master~10) If you're interested in code: http://thread.gmane.org/gmane.comp.version-control.git/52123/focus=52126 Ciao, Dscho -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html