diff options
| author | Max Howell | 2011-08-02 12:30:04 +0100 |
|---|---|---|
| committer | Max Howell | 2011-08-02 12:34:33 +0100 |
| commit | 5a219425630dc2304b5a35ed2201ea2122ecd17b (patch) | |
| tree | 2758ac23f63303ccd55d03e50e1ddda6043b0c68 /Library/Formula/mcpp.rb | |
| parent | eb447c8f610f626870cd16917da19fe4a18f9c3d (diff) | |
| download | homebrew-5a219425630dc2304b5a35ed2201ea2122ecd17b.tar.bz2 | |
Improvements to `brew versions`
The output happens as it is determined, rather than all at once, which is preferable for CLI commands. This meant I had to hard-code the left-justification.
The pre-amble warning is removed. Instead the command outputs the git checkout command for each she that you can type to get that old formula.
I decided that reseting the one file will work 99% of the time and that it is too risky to reset the whole repo, this will roll-back bug fixes. Instead we should add functionality to compat/ in order to support old formula as required. Sometimes deps may have to be rolled-back too, but the user will have to figure this out on an ad-hoc basis. We are assuming a failure sophisticated user anyway, one who would like to get old versions of stuff.
I moved most of the functions into Formula since IMO this makes more conceptual sense.
I made the she get abbreviated by git (using --abbrev-commit) itself so it as short as can be.
Diffstat (limited to 'Library/Formula/mcpp.rb')
0 files changed, 0 insertions, 0 deletions
