git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GUILT][RFC] Autotagging
@ 2007-03-10  4:46 Josef 'Jeff' Sipek
  2007-03-10  4:46 ` [PATCH 1/2] Automatically create unannotated tags for top, bottom, and base of the stack Josef 'Jeff' Sipek
  2007-03-10  4:46 ` [PATCH 2/2] Autotag: Read guilt.autotag config var and tag commits only if this feature is enabled Josef 'Jeff' Sipek
  0 siblings, 2 replies; 3+ messages in thread
From: Josef 'Jeff' Sipek @ 2007-03-10  4:46 UTC (permalink / raw)
  To: git

Greetings all!

Recently, it has been brought to my attention that it would be nice to be
able to refer to the top/bottom/base of the patch stack in Guilt by a name
instead of fishing around the log for the hash. I quickly coded up the
following solution (which I call "autotagging"), which creates unannotated
tags for the top (topmost applied patch), bottom (first applied patch), and
base (parent of bottom) in with this naming scheme:

	${branch}_top
	${branch}_bottom
	${branch}_base

The branch name is necessary as each branch has its own series of patches,
and potentially different history to begin with.

Of course, I included an option to disable this feature (see patch 2) - just
set guilt.autotag=0 in your git config.

Before I merge this into Guilt master, I was hoping for some feedback. Just
in case I completely missed something obvious, or perhaps there is a better
way to name the branches :)

Thanks,

Josef "Jeff" Sipek.

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

end of thread, other threads:[~2007-03-10  4:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-10  4:46 [GUILT][RFC] Autotagging Josef 'Jeff' Sipek
2007-03-10  4:46 ` [PATCH 1/2] Automatically create unannotated tags for top, bottom, and base of the stack Josef 'Jeff' Sipek
2007-03-10  4:46 ` [PATCH 2/2] Autotag: Read guilt.autotag config var and tag commits only if this feature is enabled Josef 'Jeff' Sipek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).