Skip to main content

Gerrit with Jujutsu

Jujutsu has a very similar model to Gerrit! How nice it would be to integrate them!

Unfortunately, Jujutsu currently doesn't support Gerrit natively. You'll have to rely on a couple of workarounds to get it working.

  1. You need to colocate with Git, because Jujutsu doesn't quite understand Gerrit's push semantics.
  2. You need to add Change-Id footer that is required by Gerrit. Jujutsu doesn't support git hooks; you may use regular Git to amend the commit message to have this footer. Cleaner solution is to teach Jujutsu to do this: see this (untested) example on how to teach Jujutsu to append Change-Id footer.
  3. You need to git push using regular git command.

See this issue for tracking progress.