提交 5a174f1a 编写于 作者: T Theodore Ts'o

mergetool: Fix abort command when resolving symlinks and deleted files

Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
上级 b7b36f92
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册