projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b36f9
)
mergetool: Fix abort command when resolving symlinks and deleted files
author
Theodore Ts'o
<tytso@mit.edu>
Thu, 29 Mar 2007 13:48:31 +0000
(09:48 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 29 Mar 2007 16:29:52 +0000
(12:29 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
git-mergetool.sh
patch
|
blob
|
history
diff --git
a/git-mergetool.sh
b/git-mergetool.sh
index c1fde41a08d296e2647428242490b0b603618d48..9b736507be030cc12ed15960206eb7220dcfe6c1 100755
(executable)
--- a/
git-mergetool.sh
+++ b/
git-mergetool.sh
@@
-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