On Tue, 2011-03-22 at 12:00 +0300, Dmitry V. Levin wrote:
Based on my experience of earlier cvs->git migrations, there are
few
things that could be done naturally now:
- migrate from .cvsignore to .gitignore;
- cleanup trailing whitespaces and indentation that uses spaces before
tabs as reported by
git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD
- adjust hooks/update to reject new commits introducing new trailing
whitespaces;
- accept a guideline about git commit messages style and maintaining
ChangeLog file in git; I propose to deprecate the ChangeLog file in
the repository, follow to commit log requirements (e.g. based on
"Commit log requirements" described in
http://git.savannah.gnu.org/cgit/coreutils.git/tree/HACKING), and
use the gitlog-to-changelog tool to generate the ChangeLog file from
git log at "make dist" time.
I made these changes in strace project after cvs->git migration in
July of 2009, and everybody seems to be happy so far.
I agree with all the points above except the cleanup of trailing
whitespaces and indentation. What is the advantage of having it done in
one commit as opposed to fixing it only at places where the code is
touched by other changes during regular bugfix/enhancement patching?
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb