diff --git a/dim b/dim index 070b199c699bfee2e3acdf1db3586229fb633774..f614533c5b099756e7f36e29e429fa629e1b8e71 100755 --- a/dim +++ b/dim @@ -350,7 +350,7 @@ function git_branch_exists # branch function git_committer_email { if ! committer_email=$(git config --get user.email) ; then - committer_email=$EMAIL + committer_email=${EMAIL-} fi echo $committer_email