Permalink
Browse files

hide output of commands to check for existence of valid user.* keys

could be confusing to people, and is not at all needed to be shown.
  • Loading branch information...
1 parent dc79c20 commit be8d5f448796e617b55ced239aa1f048cfa3919d @sitaramc committed Nov 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gl-setup
View
4 src/gl-setup
@@ -128,8 +128,8 @@ gl-compile-conf -q
cd $HOME; cd $REPO_BASE/gitolite-admin.git
GIT_WORK_TREE=$GL_ADMINDIR; export GIT_WORK_TREE
git add conf/gitolite.conf keydir
- git config --get user.email || git config user.email $USER@`hostname`
- git config --get user.name || git config user.name "$USER on `hostname`"
+ git config --get user.email >/dev/null || git config user.email $USER@`hostname`
+ git config --get user.name >/dev/null || git config user.name "$USER on `hostname`"
git diff --cached --quiet 2>/dev/null || git commit -am start
)

0 comments on commit be8d5f4

Please sign in to comment.