git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* pre-rebase, post-rewrite, ...
@ 2016-11-11  9:22 Uwe Hausbrand
  0 siblings, 0 replies; only message in thread
From: Uwe Hausbrand @ 2016-11-11  9:22 UTC (permalink / raw)
  To: git

Hi all,

I am using the pre-rebase hook to generate a tag. I am using this tag
to check if my rebase lost any commits or content when i'm cleaning up
my local commit history.
What i now want to do is using a post-rebase hook to make a diff check
and remove my generated tag in case there is no difference.

I use the post-rewrite hook to make this check, but this only triggers
in case of a rewrite happening (which is understandable). But the
pre-rebase hook triggers on every git rebase call and so i generate
tags which could be removed automatically.

Is there any other hook i could use or why is there no post-rebase hook?

An older post mentions ( http://marc.info/?l=git&m=120796177421283&w=2
) point 5 which i think applies to my problem, but as i can't alias
real git commands (which is ok) i would need to use a new command.

Best regards,
Uwe

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-11  9:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-11  9:22 pre-rebase, post-rewrite, Uwe Hausbrand

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).