Re: [PATCH 1/2] Teach Git how to parse standard power of 2 suffixes.

From: Shawn O. Pearce <spearce@spearce.org>
Date: 2006-12-31 17:48:39
Junio C Hamano <junkio@cox.net> wrote:
> +test_expect_success numbers '
> +
> +	git-repo-config kilo.gram 1k &&
> +	git-repo-config mega.ton 1m &&
> +	k=$(git-repo-config --int --get kilo.gram) &&
> +	test z1024 = "z$k" &&
> +	m=$(git-repo-config --int --get mega.ton) &&
> +	test z1048576 = "z$m"
> +'
> +

I'm a moron.  I copied and pasted test_expect_failure here in my
own version.  Commit and push yours, its just as good as mine,
but is shorter.  :-)

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Dec 31 17:49:24 2006

This archive was generated by hypermail 2.1.8 : 2006-12-31 17:50:55 EST