Merge branch 'lh/send-email-hide-x-mailer'
[gitweb.git] / contrib / completion / git-prompt.sh
index c5473dc8dba78b372fd95ef2bf5257ff5cdc3baf..729f7694795d1116ccedfc653f82da757e6e4ef4 100644 (file)
@@ -270,7 +270,7 @@ __git_ps1_colorize_gitstring ()
 
 __git_eread ()
 {
-       f="$1"
+       local f="$1"
        shift
        test -r "$f" && read "$@" <"$f"
 }