From: Harald Nordgren via GitGitGadget Date: Tue, 14 Apr 2026 12:59:42 GMT Subject: [PATCH v12 1/4] stash: add --label-ours, --label-theirs, --label-base for apply Message-ID: <9ab5431b4773c29097ae9bdd497822477c7ba56a.1776171585.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 | 32 +++++++++++++++++++++++++------- t/t3903-stash.sh | 29 +++++++++++++++++++++++++++++ xdiff/xmerge.c | 6 +++--- 4 files changed, 67 insertions(+), 11 deletions(-) diff --git a/Documentation/git-stash.adoc b/Documentation/git-stash.adoc index b05c990ecd..50bb89f483 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] [--label-ours=