Re: [PATCH] git svn : hook before 'git svn dcommit'
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jul 3, 2011, 21:00 UTC
- Message-ID
- <vpq62njaxl2.fsf@bauges.imag.fr>
- In-Reply-To
- <1309726156-31156-1-git-send-email-frederic.heitzmann@gmail.com>
Frédéric Heitzmann <frederic.heitzmann@gmail.com> writes:
> The 'pre-svn-dcommit' hook is called by 'git svn dcommit' and can be used to > prevent some diff to be committed to a SVN repository. It may typically be > used to filter some intermediate patches, which were committed into git but > must not find their way to the SVN repository.
Why 2 patches?
We usually try to have each commit as correct as possible (e.g. when sending several patches, each commit should still pass the testsuite). With your 2-patches serie, the first commit has documentation for a feature which doesn't exist yet.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/