On Fri, 26 Apr 2013 20:25:27 -0700 (PDT) [email protected] 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-archive; e.g., > > static const char *project_version = "$Format:..."; > > with an associated export-subst attribute.
I think you can't do this with the current Git implementation so you might want to propose your idea to the Git devs on the main mailing list [1]. 1. http://vger.kernel.org/vger-lists.html#git -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
