From: Oleg Broytman Date: Sat, 29 Apr 2017 03:13:55 +0000 (+0300) Subject: Move get-commit-message.vim and mk-git-aliases to devscripts/ X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0649f3b0583a1f86fbcd17b1a89adb0e13a85695;p=cookiecutter.git Move get-commit-message.vim and mk-git-aliases to devscripts/ --- diff --git a/project_template/get-commit-message.vim b/project_template/devscripts/get-commit-message.vim similarity index 100% rename from project_template/get-commit-message.vim rename to project_template/devscripts/get-commit-message.vim diff --git a/project_template/mk-git-aliases b/project_template/devscripts/mk-git-aliases similarity index 55% rename from project_template/mk-git-aliases rename to project_template/devscripts/mk-git-aliases index 83cfbe8..1891c89 100755 --- a/project_template/mk-git-aliases +++ b/project_template/devscripts/mk-git-aliases @@ -1,9 +1,9 @@ #!/bin/sh git config --local alias.commit-with-message \ - "!GIT_EDITOR='vim -c \"source get-commit-message.vim\"' \ + "!GIT_EDITOR='vim -c \"source devscripts/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\"' \ + "!GIT_EDITOR='vim -c \"source devscripts/get-commit-message.vim\"' \ exec git tag -s \`python setup.py --version\`"