]> git.phdru.name Git - cookiecutter.git/commitdiff
Move get-commit-message.vim and mk-git-aliases to devscripts/
authorOleg Broytman <phd@phdru.name>
Sat, 29 Apr 2017 03:13:55 +0000 (06:13 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 29 Apr 2017 03:16:21 +0000 (06:16 +0300)
project_template/devscripts/get-commit-message.vim [moved from project_template/get-commit-message.vim with 100% similarity]
project_template/devscripts/mk-git-aliases [moved from project_template/mk-git-aliases with 55% similarity]

similarity index 55%
rename from project_template/mk-git-aliases
rename to project_template/devscripts/mk-git-aliases
index 83cfbe8bd5a258001763676669f9db1fc6cbf028..1891c898fe09986e873a552ee2c22009d1544e66 100755 (executable)
@@ -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\`"