mirror of
https://github.com/tj/git-extras.git
synced 2026-09-13 00:46:26 -04:00
Need to remove the temp file regardless
This commit is contained in:
parent
249a6cd27c
commit
7ff05f2977
|
|
@ -478,6 +478,7 @@ main() {
|
|||
rm -f "$tmpfile"
|
||||
else
|
||||
cp -f "$tmpfile" "$changelog"
|
||||
rm -f "$tmpfile"
|
||||
# Use `eval` to handle GIT_EDITOR which contains space and options,
|
||||
# like ""C:\Program Files (x86)\Notepad++\notepad++.exe" -multiInst ".
|
||||
# Thanks @JanSchulz to inspire me this solution
|
||||
|
|
|
|||
Loading…
Reference in a new issue