Merge pull request #590 from bbbco/changelog-tmp-file-fix

Be sure to remove tempfile in git-changelog
This commit is contained in:
罗泽轩 2016-10-22 11:40:46 +08:00 committed by GitHub
commit 779f467612

View file

@ -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