summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2022-08-23 02:42:19 +0000
committerJunio C Hamano <gitster@pobox.com>2022-08-24 09:08:32 -0700
commitd3a9295ada961012bfe8582540e40a02e772aa09 (patch)
tree77cb15bd18a6428b438366bc18138e8dc1988818 /builtin/commit-graph.c
parentfd59c5bdeeb50f18e86f36cbf7a0b82554621690 (diff)
merge: only apply autostash when appropriate
If a merge failed and we are leaving conflicts in the working directory for the user to resolve, we should not attempt to apply any autostash. Further, if we fail to apply the autostash (because either the merge failed, or the user requested --no-commit), then we should instruct the user how to apply it later. Add a testcase verifying we have corrected this behavior. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions