mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
mergetool: Fix abort command when resolving symlinks and deleted files
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
b7b36f92fd
commit
5a174f1a2e
@ -71,13 +71,13 @@ resolve_symlink_merge () {
|
||||
cleanup_temp_files --save-backup
|
||||
return
|
||||
;;
|
||||
[rR]*)
|
||||
[rR]*)
|
||||
git-checkout-index -f --stage=3 -- "$path"
|
||||
git-add -- "$path"
|
||||
cleanup_temp_files --save-backup
|
||||
return
|
||||
;;
|
||||
[qQ]*)
|
||||
[aA]*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@ -94,12 +94,12 @@ resolve_deleted_merge () {
|
||||
cleanup_temp_files --save-backup
|
||||
return
|
||||
;;
|
||||
[dD]*)
|
||||
[dD]*)
|
||||
git-rm -- "$path"
|
||||
cleanup_temp_files
|
||||
return
|
||||
;;
|
||||
[qQ]*)
|
||||
[aA]*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user