[StGit] push/pull stacked patches
From: Kurt Harriman <hidden>
Date: 2016-06-15 22:47:46
Suppose two developers are collaborating on a series of patches. What is the best way to synchronize their repositories, including the StGit state? Even if both repositories are StGit-enabled, the patch metadata and unapplied patches don't seem to be transferred by push/pull. Applied patches are transferred as ordinary commits, losing their patch names and their place in the patch stack. It seems that a remote branch cannot have a patch stack. Instead of using push/pull, a patch series can be transferred using stg export/import, but this is error-prone, requiring extra steps, and changes the commit timestamp and SHA1. Stg export/import are good for distributing the final version of a patch series; but ungitly for back-and-forth collaboration. Is there a better way?