We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bfe812 commit 00d997eCopy full SHA for 00d997e
commit-patch-buffer.el
@@ -65,13 +65,10 @@ one."
65
(with-current-buffer output-buffer
66
(erase-buffer)
67
(let* ((default-directory ,directory)
68
- (args `("-m" ,comment))
69
- (args (if ,amend
70
- (append args '("--amend"))
71
- args))
72
(status (apply 'process-file commit-patch-program patch
73
output-buffer nil
74
- args)))
+ (append `("-m" ,comment)
+ (if ,amend '("--amend"))))))
75
(if (not (eq status 0))
76
(progn
77
(window-buffer (display-buffer output-buffer))
0 commit comments