[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: 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 6:48:39
Message-ID: 20061231064839.GF6106 () spearce ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic