From 30e6668678abec90536b97fc241d7a870738a376 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 22 Nov 2007 19:15:17 +0000 Subject: unposted: fix typo in git psvar assignment. --- ChangeLog | 3 +++ Functions/Prompts/prompt_clint_setup | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e65fff5e3..f46c5df54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-11-22 Clint Adams + * unposted: Functions/Prompts/prompt_clint_setup: fix typo in git + psvar assignment. + * Sean Finney: 24115: Completion/Unix/Command/_git: offer tags as well as heads where refspecs are valid. diff --git a/Functions/Prompts/prompt_clint_setup b/Functions/Prompts/prompt_clint_setup index 6cf76db72..a9960a016 100644 --- a/Functions/Prompts/prompt_clint_setup +++ b/Functions/Prompts/prompt_clint_setup @@ -66,7 +66,7 @@ prompt_clint_precmd () { git_dir=$(git-rev-parse --git-dir 2> /dev/null) || return git_ref=$(git-symbolic-ref HEAD 2> /dev/null) || git_ref="(no branch)" - psvar[2]=${ref#refs/heads/} + psvar[2]=${git_ref#refs/heads/} } -- cgit 1.4.1