Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/fix-merge-arg-quoting-in-rebase-p'
[gitweb.git]
/
contrib
/
completion
/
git-prompt.sh
diff --git
a/contrib/completion/git-prompt.sh
b/contrib/completion/git-prompt.sh
index 41a471957ad227f470d5e7472fb325fd791a4011..983e419d2b7eda8f191a878a395179dcc24eb949 100644
(file)
--- a/
contrib/completion/git-prompt.sh
+++ b/
contrib/completion/git-prompt.sh
@@
-283,7
+283,7
@@
__git_ps1_colorize_gitstring ()
# variable, in that order.
__git_eread ()
{
- test -r "$1" && read "$2" <"$1"
+ test -r "$1" &&
IFS=$'\r\n'
read "$2" <"$1"
}
# __git_ps1 accepts 0 or 1 arguments (i.e., format string)