comparison install.py @ 455:1172b8484c68

Add global `gitignore` file.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 13 Nov 2018 09:55:59 -0800
parents d5d49e678146
children 3b9394a0a58b
comparison
equal deleted inserted replaced
454:54bdd1f0f873 455:1172b8484c68
217 217
218 218
219 def install_git(): 219 def install_git():
220 writelines('~/.gitconfig', [ 220 writelines('~/.gitconfig', [
221 '[include]', 221 '[include]',
222 'path = %s' % _p('git/gitconfig', force_unix=True) 222 ' path = %s' % _p('git/gitconfig', force_unix=True),
223 '[core]',
224 ' excludesfile = %s' % _p('git/gitignore', force_unix=True)
223 ]) 225 ])
224 if is_windows: 226 if is_windows:
225 subprocess.check_call( 227 subprocess.check_call(
226 ['setx', 'GIT_SSH', 228 ['setx', 'GIT_SSH',
227 '%USERPROFILE%\\Dropbox\\Utilities\\plink.exe'], 229 '%USERPROFILE%\\Dropbox\\Utilities\\plink.exe'],