Sync with 1.7.9.2
authorJunio C Hamano <gitster@pobox.com>
Thu, 23 Feb 2012 01:49:02 +0000 (17:49 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Feb 2012 01:49:02 +0000 (17:49 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1  2 
contrib/completion/git-completion.bash
index 3a05a5b74ca8239aeb5cd7446a72b9e8a7b6e6ab,0acbdda3b8af423fc4911af4d337658a4841c899..554e30e961b1459817442c2eb11166c768fa0ec2
  #       per-repository basis by setting the bash.showUpstream config
  #       variable.
  #
- #
- # To submit patches:
- #
- #    *) Read Documentation/SubmittingPatches
- #    *) Send all patches to the current maintainer:
- #
- #       "Shawn O. Pearce" <spearce@spearce.org>
- #
- #    *) Always CC the Git mailing list:
- #
- #       git@vger.kernel.org
- #
  
  if [[ -n ${ZSH_VERSION-} ]]; then
        autoload -U +X bashcompinit && bashcompinit
@@@ -298,13 -286,13 +286,13 @@@ __git_ps1 (
                                fi
                        fi
                        if [ -n "${GIT_PS1_SHOWSTASHSTATE-}" ]; then
-                               git rev-parse --verify refs/stash >/dev/null 2>&1 && s="$"
+                               git rev-parse --verify refs/stash >/dev/null 2>&1 && s="$"
                        fi
  
                        if [ -n "${GIT_PS1_SHOWUNTRACKEDFILES-}" ]; then
-                          if [ -n "$(git ls-files --others --exclude-standard)" ]; then
-                             u="%"
-                          fi
+                               if [ -n "$(git ls-files --others --exclude-standard)" ]; then
+                                       u="%"
+                               fi
                        fi
  
                        if [ -n "${GIT_PS1_SHOWUPSTREAM-}" ]; then
@@@ -2512,7 -2500,7 +2500,7 @@@ _git_svn (
                        __gitcomp "
                                --merge --strategy= --verbose --dry-run
                                --fetch-all --no-rebase --commit-url
 -                              --revision $cmt_opts $fc_opts
 +                              --revision --interactive $cmt_opts $fc_opts
                                "
                        ;;
                set-tree,--*)