Re: [PATCHv3 2/2] Warnings before amending published history
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 12, 2012, 07:34 UTC
- Message-ID
- <vpqvcixyoed.fsf@bauges.imag.fr>
- In-Reply-To
- <1339451781-29324-2-git-send-email-Lucien.Kong@ensimag.imag.fr>
Lucien Kong <Lucien.Kong@ensimag.imag.fr> writes:
> builtin/commit.c | 82 ++++++++++++++++++++++++++ > sha1_name.c | 95 +++++++----------------------- > sha1_name.h | 130 +++++++++++++++++++++++++++++++++++++++++
I'm surprised that you need such a big patch. Basically, you're making all static functions in sha1_name.c public. If you really need such intrusive change, then you should at least explain why in the commit message, and most preferably split the patch into one refactoring patch to expose the functions and one to use them.
But I suspect what you're looking for is already in cache.h.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/