From: Ramkumar Ramachandra Date: Wed, 04 Apr 2012 15:40:16 GMT Subject: Re: [PATCH 1/4] sha1_name: introduce getn_sha1() to take length Message-ID: In-Reply-To: <20120403220817.GE19858@burratino> Hi Jonathan, Jonathan Nieder wrote: > If I were doing it, I might just ask the maintainer to make the > decision for me, by making a somewhat funny patch series: > >  1. add "how to use the get_sha1 family" to Documentation/technical. >  2. make get_sha1_with_context_1 static. >  3. replace get_sha1_with_mode_1 with simpler die_sha1_not_in_index >    function. >  4. add namelen argument to die_sha1_not_... and >    get_sha1_with_context, adjust callers, and make use of >    get_sha1_with_context with this arg in sequencer code. >  5. add namelen arg to get_sha1_with_mode, adjust callers, and >    make sequencer code use this instead. >  6. add namelen arg to get_sha1, adjust callers, and make sequener >    code use this instead. > > That way, the maintainer could take patches 1 - 3 to get the basic API > cleanup, patch 4 to get the sequencer enhancement and make a judgement > call about whether to take patches 5 and 6 depending on how much of a > pain the churn would be given other patches in flight. Makes a lot of sense. I'll re-roll shortly. Thanks. Ram