[erlang-patches] New gen_stream behaviour

Raimo Niskanen raimo+erlang-patches@REDACTED
Tue May 18 10:21:40 CEST 2010


On Mon, May 17, 2010 at 09:29:09AM -0700, Jay Nelson wrote:
> 
> On May 17, 2010, at 6:33 AM, Raimo Niskanen wrote:
> >
> >I do not think so since it does not affect the language
> >nor the core modules. It may, however, need to be reviewed by
> >the OTP technical board. We would also like community feedback
> >on the behaviour of a new behaviour.
> 
> Please, absolutely.  I definitely want feedback.  I am sure that  
> there are many improvements possible that I have not considered.
> 
> >>
> >>git fetch git://github.com/jaynel/otp.git gen_stream
> >
> >Thanks. Included in 'pu' with whitespace fixes.
> 
> How is this done?   I did 'git diff --check' and didn't get  
> anything.  How do you detect and fix whitespace issues?

There is a hook .git/hooks/pre-commit.sample
that you rename to .git/hooks/pre-commit
and then you can not commit any whitespace errors
(some other problems are checked too).

The argument --check to git diff checks for whitespace errors.

To fix I use git rebase --whitespace=fix

> 
> jay

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list