Users were seeing local changes in their repository after updating, even
though they had made no local changes.
The repository setup sequence should use `git reset --soft` rather than
vanilla `git reset`, which defaults to '--mixed'. '--soft' updates
_only_ HEAD, leaving the index as-is, allowing future incantations of
`brew update` to proceed without errors.
Fixes#6732.
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.
This is the behavior recommended by Wine. It avoids the need to download a
separate copy of Gecko for each prefix. See http://wiki.winehq.org/Gecko
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Also, changed the way the Python bindings are installed.
The latter change is needed because `/Library/Python` is owned
by root in Lion and would prevent the installation of the compiled
Python module. Instead this is following the technique used in
other formulas -- installing to lib/python and having to add that
directory to `PYTHONPATH`.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Allows application of the ignore-thread patch listed at
<http://wiki.mutt.org/index.cgi?PatchList>. Adds a new command, ignore-thread,
which ignores and unignores message threads. Ignored threads stay collapsed in
the message list.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Rationale: people break their installs by mixing sudo and non-sudo usage. They are used to having to `sudo port install` and shit like that, so I understand why the mixing happens.