From: Oleg Broytman Date: Wed, 10 Aug 2016 18:01:56 +0000 (+0300) Subject: Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias X-Git-Tag: 2.7.0~17 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3e87cef9e0206b254d7d6cde82f7ea0f0cb28e27;p=mimedecode.git Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias --- diff --git a/mk-git-alias b/mk-git-aliases similarity index 56% rename from mk-git-alias rename to mk-git-aliases index a1b7a93..83cfbe8 100755 --- a/mk-git-alias +++ b/mk-git-aliases @@ -1,5 +1,9 @@ #!/bin/sh +git config --local alias.commit-with-message \ + "!GIT_EDITOR='vim -c \"source get-commit-message.vim\"' \ + exec git commit -v" + exec git config --local alias.tag-with-message \ "!GIT_EDITOR='vim -c \"source get-commit-message.vim\"' \ exec git tag -s \`python setup.py --version\`"