Re: [git-users] `git describe` as a git-log format?

2013-04-28 Thread Konstantin Khomoutov
On Fri, 26 Apr 2013 20:25:27 -0700 (PDT) johnkgallag...@gmail.com wrote: > Is it possible to get `git-log --format=...` to print out the same > thing that `git-describe --tags` does? > > The particular case I'm thinking of is attaching a git-based version > number (of sorts) to the output of git-

[git-users] `git describe` as a git-log format?

2013-04-26 Thread johnkgallagher
Is it possible to get `git-log --format=...` to print out the same thing that `git-describe --tags` does? The particular case I'm thinking of is attaching a git-based version number (of sorts) to the output of git-archive; e.g., static const char *project_version = "$Format:..."; with an ass