mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Merge pull request #590 from bbbco/changelog-tmp-file-fix
Be sure to remove tempfile in git-changelog
This commit is contained in:
commit
779f467612
|
|
@ -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