Re: [PATCH 1/2] Teach Git how to parse standard power of 2 suffixes.
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Dec 31, 2006, 06:48 UTC
- Message-ID
- <20061231064839.GF6106@spearce.org>
- In-Reply-To
- <7vlkkoinla.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 10 quoted lines
> +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.