threads / discuss / 21759

[StGit] push/pull stacked patches

Subject: [StGit] push/pull stacked patches

## tl;dr

One message between Nov 26, 2009 and Nov 26, 2009.

replies: 0people: 1as markdown or json

Kurt Harriman· Nov 26, 2009, 12:17 UTC · lore

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?

← back to recent threads