aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cppunit.rb
diff options
context:
space:
mode:
authorJack Nagel2012-01-05 16:15:33 -0600
committerJack Nagel2012-01-06 14:51:15 -0600
commit49bb7b65a5a3e93a97e0ecd0f5eab08f02114f49 (patch)
tree360ea445db1c127882a399a6554c2625f8299e3b /Library/Formula/cppunit.rb
parent38db885266dfa16623226460533030566b5193a6 (diff)
downloadhomebrew-49bb7b65a5a3e93a97e0ecd0f5eab08f02114f49.tar.bz2
versions: determine version from a Formula instance
Rather than regex the output of `git show <rev>:<path>`, we write the output of `git cat-file blog <rev>:<path>` to a temporary file, and then operate on it just as we would a normal formula. I haven't observed any speed difference. `git cat-file blob` is faster than `git show`, but the "slow part" is still the git-rev-list invocation. But really it's pretty fast overall. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/cppunit.rb')
0 files changed, 0 insertions, 0 deletions