From: Harald Nordgren via GitGitGadget Date: Thu, 09 Apr 2026 19:17:12 GMT Subject: [PATCH v8 1/4] stash: add --ours-label, --theirs-label, --base-label for apply Message-ID: <8fcf3778205d4742a56ed2e4c3b97defa21a1538.1775762235.git.gitgitgadget@gmail.com> In-Reply-To: From: Harald Nordgren Allow callers of "git stash apply" to pass custom labels for conflict markers instead of the default "Updated upstream" and "Stashed changes". Document the new options and add a test. Signed-off-by: Harald Nordgren --- Documentation/git-stash.adoc | 11 ++++++++++- builtin/stash.c | 2 +- t/t3903-stash.sh | 37 ++++++++++++++++++++++++++++++++++++ xdiff/xmerge.c | 6 +++--- 4 files changed, 51 insertions(+), 5 deletions(-) diff --git a/Documentation/git-stash.adoc b/Documentation/git-stash.adoc index b05c990ecd..6829ba1140 100644 --- a/Documentation/git-stash.adoc +++ b/Documentation/git-stash.adoc @@ -12,7 +12,7 @@ git stash list [] git stash show [-u | --include-untracked | --only-untracked] [] [] git stash drop [-q | --quiet] [] git stash pop [--index] [-q | --quiet] [] -git stash apply [--index] [-q | --quiet] [] +git stash apply [--index] [-q | --quiet] [--ours-label=