Message ID | 5d3d95c9cb978ee02d9e39c5eb70b49ecdbd218f.1627042470.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fd441eb612b28e2b0f512ad6d98859c9e82a2cbd |
Headers | show |
Series | merge --autostash: apply autostash in more cases | expand |
Philippe Blain via GitGitGadget wrote: > From: Philippe Blain <levraiphilippeblain@gmail.com> > --- a/Documentation/merge-options.txt > +++ b/Documentation/merge-options.txt > @@ -154,7 +154,8 @@ endif::git-pull[] > --autostash:: > --no-autostash:: > Automatically create a temporary stash entry before the operation > - begins, and apply it after the operation ends. This means > + begins, record it in the special ref `MERGE_AUTOSTASH` > + and apply it after the operation ends. This means > that you can run the operation on a dirty worktree. However, use > with care: the final stash application after a successful > merge might result in non-trivial conflicts. Although normally I'm against mentioning low-level technical details in high-level documentation, there doesn't seem to be a better location to explain MERGE_AUTOSTASH, and it's just a simple sentence. Fine by me.
diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt index eb0aabd396f..52565014c15 100644 --- a/Documentation/merge-options.txt +++ b/Documentation/merge-options.txt @@ -154,7 +154,8 @@ endif::git-pull[] --autostash:: --no-autostash:: Automatically create a temporary stash entry before the operation - begins, and apply it after the operation ends. This means + begins, record it in the special ref `MERGE_AUTOSTASH` + and apply it after the operation ends. This means that you can run the operation on a dirty worktree. However, use with care: the final stash application after a successful merge might result in non-trivial conflicts.