All of lore.kernel.org
 help / color / mirror / Atom feed
* can git-describe learn first-parent behavior?
@ 2010-09-21  5:58 Joshua Shrader
  2010-09-21  9:34 ` Michael J Gruber
  0 siblings, 1 reply; 12+ messages in thread
From: Joshua Shrader @ 2010-09-21  5:58 UTC (permalink / raw)
  To: Git Mailing List; +Cc: Joshua Shrader

This seems like it would be a rather useful feature.  Suppose a
maintenance branch, maint/v1.0, is forked from master, and the branch
point is tagged something like "v1.0-stable".  The next commit on
master is tagged "v2.0-base", indicating that it is the first commit
of the new release.  Suppose two releases are made - a release for
public consumption of version 1.0, and a release for internal testing
from master (currently 2.0), and we want to embed the output of
git-describe into the builds.  If bugs were fixed on 1.0, and then 1.0
was merged into master, it seems perfectly possible to run
git-describe on master, but get the v1.0 tag in the output.

Is this just a poor workflow?  Am I using git-describe incorrectly?
Or, does a first-parent option to git-describe seem useful?

Thanks for the input.

Josh

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-09-22 17:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-21  5:58 can git-describe learn first-parent behavior? Joshua Shrader
2010-09-21  9:34 ` Michael J Gruber
2010-09-21  9:35   ` [RFC PATCH] git-describe: introduce --first-parent Michael J Gruber
2010-09-21 10:03   ` can git-describe learn first-parent behavior? Johannes Sixt
2010-09-21 11:49     ` Michael J Gruber
2010-09-21 12:00       ` Johannes Sixt
2010-09-21 12:10         ` Michael J Gruber
2010-09-21 12:34           ` Johannes Sixt
2010-09-21 15:26             ` Michael J Gruber
2010-09-21 19:57               ` Joshua Shrader
2010-09-22  6:52                 ` Michael J Gruber
2010-09-22 17:45                   ` Joshua Shrader

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.