# HG changeset patch # User Ludovic Chabant # Date 1362516518 28800 # Node ID 20c49d51f7e3277ee82c94b1756f267e900af734 # Parent 7832fcb79e03d0af7bfd92443ef1f18ca7eb0d74 Added `.gitconfig`. diff -r 7832fcb79e03 -r 20c49d51f7e3 git/gitconfig --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/git/gitconfig Tue Mar 05 12:48:38 2013 -0800 @@ -0,0 +1,3 @@ +[user] +name = ludovicchabant +email = ludovic@chabant.com diff -r 7832fcb79e03 -r 20c49d51f7e3 install.cmd --- a/install.cmd Tue Feb 19 17:44:57 2013 -0800 +++ b/install.cmd Tue Mar 05 12:48:38 2013 -0800 @@ -27,3 +27,11 @@ echo [extensions] >> "%userprofile%\mercurial.ini" echo hggit = %CWD:\=/%lib/hg/hg-git/hggit/ >> "%userprofile%\mercurial.ini" echo onsub = %CWD:\=/%lib/hg/onsub/onsub.py >> "%userprofile%\mercurial.ini" + +:: Git Files +if exist "%userprofile%\.gitconfig" ( + set /P confirm=Will delete existing "%userprofile%\.gitconfig". OK with that? Press CTRL-C to abort. + del /Q "%userprofile%\.gitconfig" +) +copy "%CWD%git\gitconfig" "%userprofile%\.gitconfig" + diff -r 7832fcb79e03 -r 20c49d51f7e3 install.sh --- a/install.sh Tue Feb 19 17:44:57 2013 -0800 +++ b/install.sh Tue Mar 05 12:48:38 2013 -0800 @@ -20,3 +20,8 @@ echo [extensions] >> "$HOME/.hgrc" echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc" echo onsub = $CWD/lib/hg/onsub/onsub.py >> "$HOME/.hgrc" + +# GIT +# --- +cp "$CWD/git/gitconfig" "$HOME/.gitconfig" + diff -r 7832fcb79e03 -r 20c49d51f7e3 uninstall.cmd --- a/uninstall.cmd Tue Feb 19 17:44:57 2013 -0800 +++ b/uninstall.cmd Tue Mar 05 12:48:38 2013 -0800 @@ -6,3 +6,4 @@ rmdir /Q /S "%userprofile%\vimfiles" del "%userprofile%\_vimrc" del "%userprofile%\mercurial.ini" +del "%userprofile%\.gitconfig" diff -r 7832fcb79e03 -r 20c49d51f7e3 uninstall.sh --- a/uninstall.sh Tue Feb 19 17:44:57 2013 -0800 +++ b/uninstall.sh Tue Mar 05 12:48:38 2013 -0800 @@ -5,3 +5,5 @@ rm $HOME/.vim rm $HOME/.vimrc rm $HOME/.hgrc +rm $HOME/.gitconfig +