diff options
author | Mark Lodato <lodatom@gmail.com> | 2010-10-27 21:08:21 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-28 11:45:00 -0700 |
commit | ca209065f3cc3462eb0ae6090f6b13f38aa2114c (patch) | |
tree | ce12954ca7304f23eaf091bc98b0127e9d75f1b7 /Documentation/git-checkout-index.txt | |
parent | Merge branch 'ab/send-email-perl' (diff) | |
download | tgif-ca209065f3cc3462eb0ae6090f6b13f38aa2114c.tar.xz |
completion: fix zsh check under bash with 'set -u'
Commit 06f44c3 (completion: make compatible with zsh) broke bash
compatibility with 'set -u': a warning was generated when checking
$ZSH_VERSION. The solution is to supply a default value, using
${ZSH_VERSION-}. Thanks to SZEDER Gábor for the fix.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-checkout-index.txt')
0 files changed, 0 insertions, 0 deletions