git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[StGit PATCH 1/4] Tutorial: Talk about conflicts when introducing StGit

From
Karl Hasselström <kha@treskal.com>
Date
Oct 12, 2008, 15:11 UTC
Message-ID
<20081012151133.17648.7945.stgit@yoghurt>
In-Reply-To
<20081012150825.17648.3315.stgit@yoghurt>

Conflicts and conflict resolving are essential features of StGit, so we'd better tell the user about them.

Signed-off-by: Karl Hasselström <kha@treskal.com>
---
 Documentation/stg.txt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Documentation/stg.txt b/Documentation/stg.txt
index 5973a6b..fc8fd7c 100644
--- a/Documentation/stg.txt
+++ b/Documentation/stg.txt
@@ -38,6 +38,14 @@ to maintain a 'patch stack' on top of a Git branch:
     an updated branch, you can take all your patches and apply them on
     top of the updated branch.
 
+  * As you would expect, changing what is below a patch can cause that
+    patch to no longer apply cleanly -- this can occur when you
+    reorder patches, rebase patches, or refresh a non-topmost patch.
+    StGit uses Git's rename-aware three-way merge capability to
+    automatically fix up what it can; if it still fails, it lets you
+    manually resolve the conflict just like you would resolve a merge
+    conflict in Git.
+
   * The patch stack is just some extra metadata attached to regular
     Git commits, so you can continue to use most Git tools along with
     StGit.
Previous: Karl HasselströmNext: Karl Hasselström
Message 2 of 6 in “More tutorial updates”
  1. 0/4 More tutorial updatesKarl Hasselström, Oct 12, 2008
  2. 1/4 Tutorial: Talk about conflicts when introducing StGitKarl Hasselström, Oct 12, 2008
  3. 2/4 Tutorial: Explain diffs a little bit betterKarl Hasselström, Oct 12, 2008
  4. 3/4 Tutorial: Cover "stg mail"Karl Hasselström, Oct 12, 2008
  5. 4/4 Tutorial: Write about rebasingKarl Hasselström, Oct 12, 2008
  6. Catalin MarinasOct 12, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.