зеркало из https://github.com/microsoft/git.git
Merge branch 'fix' into maint
* fix: Ensure author & committer before asking for commit message.
This commit is contained in:
Коммит
c8df633b4e
|
@ -640,6 +640,8 @@ case "$no_edit" in
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
git-var GIT_AUTHOR_IDENT > /dev/null || die
|
||||||
|
git-var GIT_COMMITTER_IDENT > /dev/null || die
|
||||||
${VISUAL:-${EDITOR:-vi}} "$GIT_DIR/COMMIT_EDITMSG"
|
${VISUAL:-${EDITOR:-vi}} "$GIT_DIR/COMMIT_EDITMSG"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Загрузка…
Ссылка в новой задаче