]> git.phdru.name Git - sqlconvert.git/commitdiff
Rename mk-git-alias -> mk-git-aliases, add commit-with-message alias
authorOleg Broytman <phd@phdru.name>
Wed, 10 Aug 2016 18:02:07 +0000 (21:02 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 10 Aug 2016 18:02:07 +0000 (21:02 +0300)
mk-git-aliases [moved from mk-git-alias with 56% similarity]

similarity index 56%
rename from mk-git-alias
rename to mk-git-aliases
index a1b7a93eb54dcd637ebd389f26a30f4be65c8011..83cfbe8bd5a258001763676669f9db1fc6cbf028 100755 (executable)
@@ -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\`"