Re: [PATCH 2/2] Let git-checkout always drop any detached head
OK obviously I can't send proper patches today.
On Sat, 3 Feb 2007, Nicolas Pitre wrote:
Show 10 quoted lines
> diff --git a/git-checkout.sh b/git-checkout.sh
> index 99b8779..e4cce06 100755
> --- a/git-checkout.sh
> +++ b/git-checkout.sh
> @@ -164,22 +164,9 @@ If you want to create a new branch from this checkout, you may do so
> (now or later) by using -b with the checkout command again. Example:
> git checkout -b <new_branch_name>"
> fi
> -elif test -z "$oldbranch" && test -n "$branch"
> +elif test -z "$oldbranch" && && test -z "$quiet"
Of course there is one "&&" too many.
Nicolas