{"thread":{"id":"44459","subject":"pre-rebase, post-rewrite, ...","startedAt":"2016-11-11T09:22:46Z","lastAt":"2016-11-11T09:22:46Z","messageCount":1,"participants":["Uwe Hausbrand"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"305765","messageId":"CAHNyMp8sM70SyDC=Ae=HpQ2bRuqJB9DzmjvN=JK7oQYxaJZxUg@mail.gmail.com","threadId":"44459","inReplyTo":null,"subject":"pre-rebase, post-rewrite, ...","fromName":"Uwe Hausbrand","fromEmail":"uwe.hausbrand@gmx.de","sentAt":"2016-11-11T09:22:33Z","receivedAt":"2016-11-11T09:22:46Z","isPatch":false,"sender":{"key":"uwe.hausbrand@gmx.de","avatar":"https://gravatar.com/avatar/232f15ea514b68e4ba8ae775a2b2bec2204e9fa9312a7e12912cb6be69fa8591?d=mp&s=160"},"body":"Hi all,\n\nI am using the pre-rebase hook to generate a tag. I am using this tag\nto check if my rebase lost any commits or content when i'm cleaning up\nmy local commit history.\nWhat i now want to do is using a post-rebase hook to make a diff check\nand remove my generated tag in case there is no difference.\n\nI use the post-rewrite hook to make this check, but this only triggers\nin case of a rewrite happening (which is understandable). But the\npre-rebase hook triggers on every git rebase call and so i generate\ntags which could be removed automatically.\n\nIs there any other hook i could use or why is there no post-rebase hook?\n\nAn older post mentions ( http://marc.info/?l=git&m=120796177421283&w=2\n) point 5 which i think applies to my problem, but as i can't alias\nreal git commands (which is ok) i would need to use a new command.\n\nBest regards,\nUwe\n"}]}