Chromium Code Reviews| Index: ports/devenv/bashrc |
| diff --git a/ports/devenv/bashrc b/ports/devenv/bashrc |
| index f68866051dcc91b716e88c1aedae186a562baa59..babbee2830353cd68fef40df11897d329c6fadad 100755 |
| --- a/ports/devenv/bashrc |
| +++ b/ports/devenv/bashrc |
| @@ -12,6 +12,19 @@ source /mnt/http/setup-environment |
| /mnt/http/install-base-packages.sh |
| +# TODO(bradnelson): Drop this when we can install things in a more |
| +# normal location and when we include the git templates in the normal |
| +# location. |
| +# Disabling templatedir as our git package lacks a default template set. |
| +# Setiing up a default git identity, since we lack /etc/passwd as |
|
Sam Clegg
2015/04/10 21:02:11
Setting
|
| +# a fallback. |
| +# Setup default .gitconfig if it doesn't already exist. |
| +if [ ! -e /home/user/.gitconfig ]; then |
| + git config --global init.templatedir "" |
| + git config --global user.name "John Doe" |
| + git config --global user.email "john.doe@foo.com" |
| +fi |
| + |
| # Setup environment again, to rescan the packages added. |
| source /mnt/http/setup-environment |