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